[xsl] Using the collection()

Subject: [xsl] Using the collection()
From: "Philip Vallone" <philip.vallone@xxxxxxxxxxx>
Date: Sat, 10 Mar 2007 06:41:28 -0500
Hi list,

Can some one show me some simple examples of the collection()?

For example:

<xsl:template match="/">
		<xsl:for-each
select="collection('file://c:/xmlfiles/?select=*.xml')">
		Do something with each XML file...
		</xsl:for-each>
</xsl:template>

This returns an error -"Available collections provides no mapping for the
string - 'file://c:/xmlfiles/?select=*.xml'

I am trying to learn how to use this function. Right now I have an XML file
that list all the xml files in a directory and I use the document(). I would
like to learn how to use collection().

Thanks for the help!

Phil

Current Thread