Subject: Re: [xsl] xslt2: Retrieving a directory's non-XML file names From: Yves Forkl <Y.Forkl@xxxxxx> Date: Wed, 01 Oct 2008 14:31:08 +0200 |
So how to obtain the list of .txt files from my directory in XSLT 2?
you could try this:
http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/200607/msg00570.html
....should work fine.
<xsl:variable name="txt_files" select="for $filename in File:list(File:new($myDir)) return $filename[matches(., '\.txt$')]"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xslt2: Retrieving a direc, Andrew Welch | Thread | [xsl] Complex condition, Bradley, Peter |
[xsl] XSL-List Guidelines, Mulberry Technologie | Date | RE: [xsl] Complex condition (solved, Bradley, Peter |
Month |