xsl-list
[Top] [All Lists]

[xsl] Using the collection()

2007-03-10 04:42:08
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




--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>