xsl-list
[Top] [All Lists]

[xsl] escaping curly braces in attribute values

2016-12-19 06:26:53
Hello,


I want to create a variable :

<xsl:variable name="foe" as="element(element)">
<element path="/Q{http://www.w3.org/1999/XSL/Transform}stylesheet[1]/Q{http://www.w3.org/1999/XSL/Transform}template[1]"/>
</xsl:variable>

Where element/@path is a string value that denotes a XPath expression, not an XPath expression that should be evaluated.

How do I escape "{" "}" ?

Best regards,
Christophe
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>