[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Is it possible to modify the source-tree?

Subject: RE: Is it possible to modify the source-tree?
From: "Agnisys Technology \(P\) Ltd." <agnisys@xxxxxxxxx>
Date: Tue, 13 Sep 2005 11:12:56 -0700 (PDT)
RE:  Is it possible to modify the source-tree?
Pardon my ignorance, but I'm not familiar with this "xx:node-set()" call.
Do I have to use oraxslt2 like David said or can I continue to use Saxon8B?

Thanks,
Anupam.


--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> The general approach to writing a multiphase transformation in one
> stylesheet is
> 
> <xsl:variable name="v1">
>   <xsl:apply-templates select="/" mode="phase1"/>
> </xsl:variable>
> 
> <xsl:variable name="v2">
>   <xsl:apply-templates select="xx:node-set($v1)" mode="phase2"/>
> </xsl:variable> 
> 
> <xsl:variable name="v3">
>   <xsl:apply-templates select="xx:node-set($v2)" mode="phase3"/>
> </xsl:variable>
> 
> <xsl:template match="/">
>   <xsl:apply-templates select="xx:node-set($v3)" mode="phase4"/>
> </xsl:template>
> 
> In 2.0 you don't need the calls on xx:node-set().
> 
> So you give these preprocessing templates a mode of "phase1" and invoke the
> processing as in the example above.
> 
> Michael Kay
> http://www.saxonica.com/



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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.