[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 09:06:13 +0200
working array xsl
On Wed, Jun 13 '01 at 08:53, Oliver Becker wrote:
> > 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]" />
True, my working code (from another project) has:

<xsl:value-of select="document('')//local:benefit/period[@ID=$BP]" />

what should work the same as Oliver's correction.

    Goetz.

Attachment: pgp00008.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.