|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: How do I access the nodeset that the IDREF refers
Subject: Re: How do I access the nodeset that the IDREF refers to?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Jan 2003 12:07:07 -0500
|
Bix,
At 11:18 AM 1/9/2003, you wrote:
Wendell Piez wrote:
... but I bet
<xsl:variable name="linkRef" select="id(subnode/link/@idr)"/>
would work even better (it binds the retrieved nodes to the variable, not
the string value of the first one).
Just for clarification, does this imply that I may use the following to
access the node info:
<xsl:value-of select="$linkRef/link">
Yes, it does (assuming the variable's still in scope). If the id() function
has returned a node with a link child, you may even get a value. :->
But keep in mind the value-of instruction *always* gets you a single string
(in this case, the string value of the first link child of the first of the
nodes in $linkref).
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
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
| RSS 2.0 |
|
| Atom 0.3 |
|
|