This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: multiple input files to one output file


I've used the document() function before, but this time I don't know the
paths and filenames of the documents beforehand. These are thousands of
files in hundreds of different directories. 

I do have XML files that specify the filenames and paths of all the
documents in a specific subdirectory. Could I somehow read such a
filenames-file and call the document function for each of the files listed,
and then extract the information I want from each document? 

Maybe my best option is to use a Perl script or something similar... 

-----Original Message-----
From: Steve Tinney [mailto:stinney@sas.upenn.edu]
Sent: Tuesday, February 01, 2000 3:58 PM
To: xsl-list@mulberrytech.com
Subject: Re: multiple input files to one output file


Linda van den Brink wrote:
> Is it possible with XSLT to have lots of input files, and create one
output
> file listing specific data from each of the files?
> 
> What are my options to achieve this?

XSLT spec under document().  You will need to manage the actual
integration of your list of documents into the XSL script, either
manually, by use of some kind of XML control file, or with a Java
extension function.

 Steve 

-- 
----------------------------------------------------------------------
Steve Tinney                                        Babylonian Section
                                 *   University of Pennsylvania Museum
stinney@sas.upenn.edu                          Phila, PA. 215-898-4047


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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]