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 01:04:56 +0200
- References: <F5cD9rFiJ9lI2dtudma000079f0@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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.
PGP signature