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

RE: XSLT - Many Input One Output

Subject: RE: XSLT - Many Input One Output
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 30 Jul 2005 15:51:51 +0100
doc available xslt
In XSLT 2.0 you can test whether a document is available using the
doc-available() function. This will allow you to write a recursive template
that tests whether a document is available, and if so, loads it and then
calls itself to process the next document.

In XSLT 1.0 you could implement doc-available as an extension function, or
write a URIResolver that returns some recognisable dummy document when no
more documents are available.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: KrustyDerClown [mailto:KrustyDerClown@xxxxxx] 
> Sent: 30 July 2005 15:24
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XSLT - Many Input One Output
> 
> Hello,
> 
> i have multiple sources (XML files) and want only one output 
> file (one BIG 
> XML file). The number of the XML input files for the 
> transformation is 
> various in any cycle. The structure is always the same.
> Inputfiles: commitlog.xml, commitlog_1.xml, commitlog_2.xml, 
> and so on. (The 
> number of the files are various) (the xml files are splitted 
> automatically 
> from the program which creates this xml files).
> 
> This "merge" process should happen with a XSL stylesheet.
> 
> Is that possible with XSLT ?
> 
> I look at the "document()" funktion, but for that function i 
> need the exact 
> name of the XML file which will included.
> 
> Have you any workaround for me ?
> 
> Thank you for your support.
> 
> Greets Oliver 

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.