This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Accessing array variable



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]