Re: [xsl] Accessing array variable

Subject: Re: [xsl] Accessing array variable
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Wed, 13 Jun 2001 01:04:56 +0200

On Tue, Jun 12 '01 at 16:21, Andy Srinivasan wrote:
> I tried yr method but it say illegal arguments for document().
> I removed document and tried, I jus get a blnk value for timePeriod.
>
> > [ ... ]
> >I'm sorry if the syntax turnes out to be not quite correct, but I dont
> >have any XSL-T documentation in reach.
That's why I said the above ;-)

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,
    Goetz.

Attachment: pgp00006.pgp
Description: PGP signature

Current Thread