RE: [xsl] escape an <xsl: template function

Subject: RE: [xsl] escape an <xsl: template function
From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Feb 2003 12:38:08 -0800
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@xxxxxxxxx] 
Sent: Friday, February 07, 2003 12:05 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread