This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Global Variables (use of)


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@dmsi-world.com        
Document Management Solutions, Inc.         http://www.dmsi-world.com
=====================================================================



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]