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

RE: Access all values

Subject: RE: Access all values
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 28 May 2003 16:19:00 -0400
tom langs play list
[Ricardo Saraiva]

> I show you the example,
> <xsl:variable name="langs" select="terms/lang"/>
> langs will access all the childs of the select. How can I get all of
> them in just one varible, like if it was an array?

This is still very unclear.  The variable $langs does not "access"
anything, it contains a node-set consisting of exactly the "lang"
children of "terms".  It seems that it already is what you want.  Since
you do not think that it is, you need to explain what you mean.

> I need this because I have it a form and I have to submit an array of
> langs.

Explain.  What does your stylesheet have to do with a form?  Do you plan
to run the stylesheet on some xml in a browser, and then use javascript
or VB in the browser to populate the form?  If so, there should be no
particular problems.  You just have to explain clearly (and briefly,
please) what you are trying to accomplish, and what browser you plan to
use if a browser is involved.


Tom P

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

Current Thread


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.
First Name
Last Name
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.