Re: [xsl] xsl to xsl doing it right

Subject: Re: [xsl] xsl to xsl doing it right
From: Simon Wickes <xmlgeek@xxxxxxxxx>
Date: Tue, 03 Apr 2001 16:25:30 -0400
At 03:57 PM 4/3/01 -0400, you wrote:
I'm trying to output an xsl using xsl and am having a hard time
distinguishing which parts i want the processor to actually process and
which parts are meant to be straight output.  <xsl:text> doesn't seem to be
any help and <![CDATA escapes all the brackets making the output useless.
Any suggestions?


OK, the preferred method is to use namespace-alias:

<xsl:namespace-alias stylesheet-prefix="simon" result-prefix="xsl"/>

and then your xsl looks like this

<xsl:template match="/">
<simon:template match="whatever">....

much cleaner.



XSL-List info and archive:

Current Thread