|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 2.7.2 How to use /quote in XSL (was RE: xsl + xsl -- xsl
Francois Belanger wrote: > Does anyone knows how to use /quote to be able to output XSL with XSL? Input: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/" xmlns:xsl_="http://www.w3.org/TR/WD-xsl/quote"> <xsl_:stylesheet> </xsl_:stylesheet> </xsl:template> </xsl:stylesheet> Output: <xsl_:stylesheet xmlns:xsl_="http://www.w3.org/TR/WD-xsl"/> Despite the funny name for the output namespace, it maps to the real XSL namespace and can thus be used as an XSL stylesheet. Add some template rules and you are off to the races! -- Paul Prescod - ISOGEN Consulting Engineer speaking for only himself http://itrc.uwaterloo.ca/~papresco "Sports utility vehicles are gated communities on wheels" - Anon XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








