xsl-list
[Top] [All Lists]

RE: newbie: merging XML files using XSLT

2003-04-29 12:15:58
Assuming that you mistyped and meant "Is there a way to use an existing xml 
file as input for a XSL transformation ...", you can merge them all in one 
transformation by opening the five files using the document() function or you 
could transform them in a sequential, additive fashion by pipelining the 
transformations. You would not use the document() function in the first 
transform, but in subsequent transforms you would supply the just-transformed 
XML file as the input document and used the document() function (the name of 
which you could pass in as a command-line parameter) to open each of the other 
four files, one for each iteration of the pipeline. Does this only make sense 
to me?

-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     "Holk, David A" <david_a_holk(_at_)groton(_dot_)pfizer(_dot_)com>
Sent:     Tue, 29 Apr 2003 13:47:37 -0400
To:       "'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] newbie: merging XML files using XSLT

I have five simple(flat) XML files that I need to aggregate into a single,
more complex xml file.

I am trying to avoid using DOM for performance reasons.

Is there a way to use and existing xml file as output for a XSL
transformation(essentially appending elements to an existing file)? 

Any insight or comments appreciated.

Dave


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this E-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents of this E-mail or any action taken (or not taken) in 
reliance on it is unauthorized and may be unlawful. If you are not an 
addressee, please inform the sender immediately.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>