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

Re: temporary merge of multiple xml files for processi

Subject: Re: temporary merge of multiple xml files for processing
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Sat, 04 Dec 2004 19:14:39 -0500
merge xml files xslt
Matt,

Yours is the kind of problem that is *much* easier in two passes. In XSLT 1.0, I'd go so far as to say you can't do it without exslt:node-set(). In XSLT 2.0 you could use a temporary tree. Before you worked on them, you would first have to collect all the subelements into a single set, as you surmise, which makes it impossible in unextended 1.0. In any case, it's (in effect) an implementation of an "include" mechanism that you need. Your case might also be simpler than the general problem (for example maybe you can guarantee that none of your 'included' files include any others).

Cheers,
Wendell

At 06:05 AM 12/4/2004, you wrote:
...
The problem is that your solution looks only into ONE (=the current) xml file but not
into all files simultaneously !
Again, how can I (temporarily) integrate all
referred xml files into the first, "main" xml file?

___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
"Thus I make my own use of the telegraph, without consulting
the directors, like the sparrows, which I perceive use it
extensively for a perch." -- Thoreau


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.