xsl-list
[Top] [All Lists]

RE: Use XSL to generate new XSL

2003-04-04 08:17:52
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>