[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: read directory and get it as an array
Easily. The trick is to put the collection() function as value of select attribute in an xsl:for-each. It returns all the URLs. The following example from my "Collection() with REGEX in XSLT" tutorial, http://www.xmlplease.com/collection, answers most of your questions and it would be easy to adjust the example to answer all of them: http://www.xmlplease.com/xmltraining/collection/collection.xsl producing this output: http://www.xmlplease.com/xmltraining/collection/filenames.html Cheers, Jesper Tverskov
|
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
|