Subject: Re: [xsl] escaping curly braces in attribute values From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 19 Dec 2016 12:57:12 -0000 |
On 19.12.2016 13:27, Christophe Marchand cmarchand@xxxxxxxxxx wrote:
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 "{" "}" ?
Double them
<element path="/Q{{http://www.w3.org/1999/XSL/Transform}}stylesheet[1]/Q{{http://www.w3.org/1999/XSL/Transform}}template[1]"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] escaping curly braces in , Martin Honnen martin | Thread | [xsl] Re: Image size with XSL?, Roger L. Cauvin roge |
Re: [xsl] escaping curly braces in , Martin Honnen martin | Date | Re: [xsl] Image size with XSL?, Mark Wilson mark@xxx |
Month |