Re: 2.7.2 How to use /quote in XSL (was RE: xsl + xsl -- xsl)

Subject: Re: 2.7.2 How to use /quote in XSL (was RE: xsl + xsl -- xsl)
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Sat, 12 Dec 1998 15:47:42 -0600
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


Current Thread