[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Extension Function to process all xml files in a f
>Does anyone know if any of the xslt processors have an extension to the >document function to process all xml files in a specified directory. Not a particularly good use-case for an extension function. You could just generate an xml file describing your directory and then send this document to your xsl-t, use the document() function to get the file referred to by an element or attribute and so forth. I can't give you the code for what I have that does this, as it's proprietary(although trivial), however Chris Bayes at http://www.bayes.co.uk/xml/index.xml?/xml/utils/dirtoxml.xml has an example application for jscript I believe, note the above url depends on you having a browser capable of handling xml. You could also send it in as a parameter if this was more to your taste. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|