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)


> <xsl:variable name="sectnum"><xsl:value-of
> select="child::title/attribute::id"/></xsl:variable>
> 
> $num should be processed as a global variable (my 
> understanding through the
> reading I have done).
> 
I don't quite understand your question, but note that this global variable
has a single constant value: the id attribute of the title element that is
the outermost element of the document. The value doesn't depend on whatever
happens to be the current node at the time the variable is referenced.

Mike Kay 


 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]