|
Subject: [xsl] How do I access the nodeset that the IDREF refers to? From: "bix xslt" <bix_xslt@xxxxxxxxxxx> Date: Wed, 08 Jan 2003 22:25:52 +0000 |
<!ELEMENT root (subnode)*> <!ELEMENT subnode (link)*> <!ELEMENT link EMPTY>
<!ATTLIST subnode
id ID #REQUIRED><!ATTLIST link
idr IDREF #REQUIRED><root> <subnode id="a" /> <subnode id="b"> <link idr="c" /> <link idr="d" /> </subnode> <subnode id="c"> <link idr="e"> </subnode> <subnode id="d" /> <subnode id="e" /> </root>
<xsl:variable name="linkRef">
<xsl:value-of select="id(subnode/link[@idr])" />
</xsl:variable>
Thanks in advance! Bix
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Announce: Upcoming XSLT and X, G. Ken Holman | Thread | RE: [xsl] How do I access the nodes, Robert Koberg |
| Re: [xsl] xml.load style file probl, asim | Date | RE: [xsl] How do I access the nodes, Robert Koberg |
| Month |