[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Global Variables (use of)


Subject: Re: Global Variables (use of)
From: "Michael R. Hahn" <sgml.xml@xxxxxxx>
Date: Fri, 21 Jul 2000 14:02:19 -0400

Hi, Jason:

BJA> <xsl:variable name="sectnum"><xsl:value-of
BJA> select="child::title/attribute::id"/></xsl:variable>

BJA> $num should be processed as a global variable (my understanding through the
BJA> reading I have done).

Disclaimer: I just tinker with XSLT.

...but, I think that expression in the variable should be:

select="child::title/@id"

if your attribute's name is id.

-- 
=====================================================================
Michael R. Hahn                                  Cell: 1-540-729-2962
---------------------------------------------------------------------
Principal Consultant                      michael.hahn@xxxxxxxxxxxxxx        
Document Management Solutions, Inc.         http://www.dmsi-world.com
=====================================================================



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



Current Thread