[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] newbie: merging XML files using XSLT


Subject: RE: [xsl] newbie: merging XML files using XSLT
From: cknell@xxxxxxxxxx
Date: Tue, 29 Apr 2003 14:15:58 -0500

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@xxxxxxxxxx - email



-----Original Message-----
From:     "Holk, David A" <david_a_holk@xxxxxxxxxxxxxxxxx>
Sent:     Tue, 29 Apr 2003 13:47:37 -0400
To:       "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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



Current Thread
Keywords