Subject: Re: Accessing array variable
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Wed, 13 Jun 2001 09:06:13 +0200
|
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.
Attachment:
pgp00008.pgp
Description: PGP signature
|