Subject: Re: [xsl] read directory and get it as an array From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx> Date: Fri, 16 Jan 2009 12:20:34 +0530 |
You can use the XPath 2.0 function, 'collection' for this. Please refer, http://www.w3.org/TR/xpath-functions/#func-collection. An example would be (for Saxon), <xsl:variable name="file-collection" select="collection(concat($folder,'?select=*.xml;recurse=yes'))" /> The variable 'file-collection' will contain a sequence of nodes (document nodes in case of XML files. it's like an array if you wish to call it so). On Fri, Jan 16, 2009 at 12:00 PM, J. S. Rawat <jrawat@xxxxxxxxxxxxxx> wrote: > Hi, > I want to read directory and hold them as an array and than get it one by > one and process them. Is it possible through XSLT!!! > ...JSR -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] read directory and get it as , J. S. Rawat | Thread | Re: [xsl] read directory and get it, J. S. Rawat |
[xsl] read directory and get it as , J. S. Rawat | Date | Re: [xsl] accessing multiple xml do, Stefan Hunziker |
Month |