Subject: RE: [xsl] performing 2 conversions on 2 diff xmls? From: "Michael Kay" <mhk@xxxxxxxxx> Date: Wed, 8 Oct 2003 21:44:50 +0100 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] performing 2 conversions , David Carlisle | Thread | [xsl] FOP Bug? Leaking table rows f, roger . wyatt |
RE: [xsl] Re: XPath 2.0: Problems w, Michael Kay | Date | [xsl] Display order issue, Joseph Tan |
Month |