[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Accessing array variable

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

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.