Re: [xsl] Java list extension

Subject: Re: [xsl] Java list extension
From: Geurt Lagemaat <lagemaat@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Jul 2011 12:29:35 +0200
Thanks Andrew and others:

This:

<xsl:variable name="directory" select="'C:\path\to\directory'"/>
    ^^^^^^^ notice the windows path here, you could create a URI if
you want instead (java.net.URI)
<xsl:variable name="dir" select="File:new($directory)"/>
<xsl:variable name="files" select="File:listFiles($dir)"/>

<xsl:for-each select="$files">

solved my problem to copy zip files e.d.

Thanks& regards, Geurt Lagemaat

Current Thread