[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

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
xsl quote
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.