| Subject: [xsl] document and key functions in xslt From: "Cornelia Stratulat" <cornelia.stratulat@xxxxxxxxxx> Date: Mon, 20 Aug 2001 15:43:01 +0200 | 
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
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Assigning values to varia, Suresh Kumar T | Thread | Re: [xsl] document and key function, Jeni Tennison | 
| [xsl] Assigning values to variables, Haque, Suraiya | Date | [xsl] fo:table, Corey Spitzer | 
| Month |