Howdy dean!
Take a look at xsl:namespace-alias which was made probably nearly
exclusively for this purpose. Basically it works like:
xmlns:_xsl="http://myURI"
<xsl:namespace-alias stylesheet-prefix="_xsl" result-prefix="xsl"/>
This then would allow you to put:
<_xsl:template match="something that came from XML doc">
In your stylesheet, and the result would be:
<xsl:template match="something that came from XML doc">
Kay has an excellent treatment in his reference book...
Dion
-----Original Message-----
From: Dean Hiller [mailto:dhiller(_at_)avaya(_dot_)com]
Sent: Friday, February 07, 2003 12:05 PM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] escape an <xsl: template function
I am sure this is in the archives and I couldn't find it. If someone
could just point me to a link, I would appreciate it. I didn't see it
in the FAQ either.
I want to take an XML document and generate a stylesheet from it using
another stylesheet. This means, I want to put things like the following
"in the output"
<xsl:template match="something that came from XML doc">
</xsl:template>
It is well-formed unlike the <br>'s of html which xslt can't handle.
Can xsl not handle this too?
How do I go about doing this?
thanks,
Dean
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list