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

Re: [xsl] temporary merge of multiple xml files for processing


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

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
Keywords