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: Goetz Bock <bock at blacknet dot de>
- Date: Wed, 13 Jun 2001 09:06:13 +0200
- References: <200106130652.IAA07630@mail.informatik.hu-berlin.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Wed, Jun 13 '01 at 08:53, Oliver Becker wrote:
> > 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]" />
True, my working code (from another project) has:
<xsl:value-of select="document('')//local:benefit/period[@ID=$BP]" />
what should work the same as Oliver's correction.
Goetz.
PGP signature