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(_at_)aptaracorp(_dot_)com> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--