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 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


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