Ulrich_Laegeler at arburg.com wrote:
>
> i would like to combine some text with the element-name functions
> in a tool-tip parameter of a command-button.
>
> Example:
> command-button(icon, url(remove.gif), command, "delete", tool-tip,
> element-local-name() + " entfernen")
>
> I tried also content() and concat() but neither worked.
> Can you implement such a feature?
>
This should work fine:
command-button(icon, url(remove.gif),
command, "delete",
tool-tip, xpath("concat(name(.),' entfernen')"))
(Note how "concat(name(.),' entfernen')" is pure XPath.)
That is, complex values must be computed using the xpath() CSS
extension. See
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/xpath.html