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

RE: strangeness with <xsl:variable>

Subject: RE: strangeness with <xsl:variable>
From: Mike Hostetler <mikeh@xxxxxxxxxxxx>
Date: Wed, 20 Dec 2000 14:51:35 -0800 (PST)
xsl var
--- "Devlin, Kurt" <Kurt.Devlin@xxxxxxxxxxxxx> wrote:
> You could try using generate-id() for your name and href
> attributes.

How come I didn't do that before?  That's a lot easier then
my method . . .

> You got this backwards... You need to put the choose
> inside of the variable.
> In your example, the variable loses scope as soon as the
> choose block is
> finished.

 . . but if I would have done it right the first time (i.e.
with generate-id()) then I wouldn't have learned about the
variable scoping.

> I hope that helps.

It sure does.  Thanks Kurt.

Mike


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

 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.