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

Re: Looping and assigning into variable

Subject: Re: Looping and assigning into variable
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Thu, 28 Mar 2002 13:39:12 -0800
str into variable
On Thursday 28 March 2002 11:29, Meiyu Lin wrote:
> I tried
> ? ? ? categorySelect[techInd] = <xsl:value-of select="category" />
> The results for the vars are undefined. ?Could you tell me what did I do
> wrong? ?Thank you.

I'd like to see the output of your stylesheet before I guess at this too 
much, but I'm wondering what the initial value of "techInd" and "appInd" are. 
 Do you have: "var techInd = 0, appInd = 0;" anywhere?  If you do, please 
post some example input/output.  If not, then that means that "techInd" is 
being initialized to "undefined", which also means that "techInd++" probably 
wouldn't work.

-- 
Peter Davis
Of ______course it's the murder weapon.  Who would frame someone with a 
fake?

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


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.