Subject: RE: Use XSL to generate new XSL
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 4 Apr 2003 16:17:52 +0100
|
> >How can one make the xsl generate text file with xsl in it? Meaning
> >what notation make the xsl flushing the command to output instead of
> >executing it?
> >
> >e.g. generate file.xsl should contain xsl tags
> ><xsl:for each...
>
> This is the need most often cited for using
> <xsl:namespace-alias> ...
Though people sometimes imagine that you HAVE to use xsl:namespace-alias
when generating a stylesheet as output. You don't; the alternative is to
use <xsl:element> and <xsl:attribute> instructions. You only need
xsl:namespace-alias if you want to use literal result elements.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|