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

RE: Browse xml files in folders

Subject: RE: Browse xml files in folders
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Tue, 9 Dec 2003 14:05:07 +0100
browse xml
>PS:note that every child folder also contains a .xslt file containing
the information I need. That means that I may import .xml or .xslt 
>from every child folder, and it would be perfect.

You mean you are using different stylesheet for different folder?
Normally, your xml should contain the information while xslt is just to
make its look and feel.


>How can I do something like a loop to browse all the child folder of
the current directory, and include (or import) each of the XML files
> in my .XSLT ?

Write a java program or any script which will record the folder
structure first and then use document() function to bring your xml
document to the main style sheet

Hope this helps.

/s

-----Original Message-----
From: Iris Benjamin [mailto:Benjamin.Iris@xxxxxxxxxxxxxxx] 
Sent: 08 December 2003 12:15
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  Browse xml files in folders


Hello

My .xslt file is in a directory FatherFolder
I would like to browse all the Children Folders of FatherFolder. Each
child folder contains a file A.xml (the name is the same in each child
folder, the XML structure is also the same, but the values of attributes
differ).

How can I do something like a loop to browse all the child folder of the
current directory, and include (or import) each of the XML files in my
.XSLT ?



PS:note that every child folder also contains a .xslt file containing
the information I need. That means that I may import .xml or .xslt from
every child folder, and it would be perfect.


Thanks a lot

Benjamin

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


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

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


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.