Subject: RE: strangeness with <xsl:variable>
From: Mike Hostetler <mikeh@xxxxxxxxxxxx>
Date: Wed, 20 Dec 2000 14:51:35 -0800 (PST)
|
--- "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
|