Re: [xsl] Java list extension

Subject: Re: [xsl] Java list extension
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 5 Jul 2011 09:15:30 +0100
> Now I need a way to discover the contents of a directory (files and
> other directorys). So far I have:

You can get a list of all the files in the directory and
subdirectories by doing:

<xsl:for-each select="collection('file:///path/to/dir/?select=*;recurse=yes;on-error=ignore')">
  <xsl:value-of select="document-uri(.)"/>


-- 
Andrew Welch
http://andrewjwelch.com

Current Thread