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


> 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]" />

Anyway - this is untested, too. ;-)
Cheers,
Oliver

/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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