[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



