Subject: Re: [xsl] How to escape "$" in output? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 25 May 2005 15:32:48 -0400 |
I have an element like the following that I need to emit from within a template:
<wlwBuild work="${app.dir}/${work.file}" serverclasspath="${server.classpath}"> <build outputdir="${output.dir}" outputfilename="${output.file}"/> </wlwBuild>
I need to make sure it is emitted literally, particularly so that the Ant expressions are not munged by XSLT.
Do I have to use manual "xsl:element" and "xsl:attribute" elements, with attribute values using "concat" to separate the "$" from the rest of the value?
<wlwBuild work="${{app.dir}}/${{work.file}}" serverclasspath="${{server.classpath}}"> <build outputdir="${{output.dir}}" outputfilename="${{output.file}}"/> </wlwBuild>
I tried using '<xsl:text disable-output-escaping="yes">...', but that complains about the "wlwBuild" element, saying it's not legal at that point in the stylesheet.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to escape "$" in output?, Karr, David | Thread | Re: [xsl] xslt 2.0: grouping flat e, JBryant |
Re: [xsl] xslt 2.0: grouping flat e, JBryant | Date | RE: [xsl] How to trim leading and t, Wendell Piez |
Month |