|
Subject: Re: [xsl] read directory and get it as an array From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx> Date: Fri, 16 Jan 2009 12:00:03 +0100 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] read directory and get it, Joe Fawcett | Thread | Re: [xsl] read directory and get it, Mukul Gandhi |
| Re: [xsl] read directory and get it, Joe Fawcett | Date | [xsl] Moving an element to a differ, Rob Newman |
| Month |