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

RE: performing 2 conversions on 2 diff xmls?

Subject: RE: performing 2 conversions on 2 diff xmls?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 8 Oct 2003 21:44:50 +0100
diff conversions
It's probably better to put the two transformations into a pipeline
using whatever API you are using to control the transformation. You can
do a two-pass operation within a single stylesheet, but you (a) need to
use the xx:node-set() extension to make the result of the first pass
accessible to the second, and (b) need to add modes to one of the phases
to avoid its template rules clashing with the template rules used in the
other phase.

Michael Kay


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> james walker
> Sent: 07 October 2003 16:41
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  performing 2 conversions on 2 diff xmls?
> 
> 
> I have:
> 
> 1) An xsl (first.xsl) which selects and copies elements from 
> an xml doc 
> (first.xml) to create a resulting xml doc(second.xml)
> 
> 2) An xsl (second.xsl) which performs a transformation on the 
> second.xml to 
> create a web page (html tags)
> 
> is there any way to incldue the first transformation at the top of 
> second.xsl file. I thought about using import or include but 
> didnt think it 
> was appropriate?
> thanks
> 
> _________________________________________________________________
> On the move? Get Hotmail on your mobile phone 
> http://www.msn.co.uk/msnmobile
> 
> 
>  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.