This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: strangeness with <xsl:variable>
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] strangeness with <xsl:variable>
- From: Mike Hostetler <mikeh at nukeroad dot net>
- Date: Wed, 20 Dec 2000 14:51:35 -0800 (PST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
--- "Devlin, Kurt" <Kurt.Devlin@westgroup.com> 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