Double the curlies to escape them:
delete dir="${{basedir}}/target" />
Michael Kay
Saxonica
On 20/04/2012 22:27, Mansour Al Akeel wrote:
I am trying to generate xml that contains attributes with with curly braces.
My style sheet has something like:
<target name="clean">
<delete dir="${basedir}/target" />
</target>
The results I am getting now is:
<target name="clean">
<delete dir="$/target"/>
</target>
I am expecting the same to output the same text. I tried to use
<xsl:text> and CDATA. The only way I was able to get the output I
needed is using CDATA inside<xsl:text> for the parts,
I need to output unchanged and unescaped.
Is there a better to disable expression evaluation. Thank you.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--