|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] document and key functions in xslt
Hi,
I would like to know why these examples don't work:
1. <xsl:for-each select="document('annuaire.xml')/key('mykey',$myname)">
...
</xsl:for-each>
where the result of the key function gives as result a node set of the
annuaire.xml file
2. <xsl:template match="document('foo.xml')">
...
document(...) gives as result the root node of the document so is equivalent
with match="/"
thanks
Cornelia
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








