[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: "Vun Kannon, David" <dvunkannon@xxxxxxxx>
Date: Mon, 14 Dec 1998 10:47:23 -0500
xsl quote
	Very nice. Now what if the output stylesheet also has to process
XSL, could you Ping-Pong back and forth between the xsl and xsl_ namespaces,
or do you have to burn a namespace for every iteration? I was re-reading
Stuart Kaufman's Origin of Order last night, specifically his description of
autocatalytic networks and Fontana's AlChemy and the concept of random
string grammars. It made me wonder if a stylesheet that was applied to
itself could serve as the host to a set of templates that matched and
transformed each other until they became a network of reinforcing
transformations, a metabolism.
	Artificial Life, not your average use of XSL.
Cheers,
David vun Kannon

> -----Original Message-----
> From:	Paul Prescod [SMTP:paul@xxxxxxxxxxx]
> Sent:	Saturday, December 12, 1998 4:48 PM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	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


 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.