This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Accessing array variable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Accessing array variable
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Wed, 13 Jun 2001 08:53:05 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Sorry, the correct syntac for document() would have been:
> <xsl:value-of select="document('')/local:benefit/period[@ID=$BP]" />
>
> Still untested, but should work now,
I believe there is a * (or xsl:stylesheet) missing:
<xsl:value-of select="document('')/*/local:benefit/period[@ID=$BP]" />
Anyway - this is untested, too. ;-)
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list