Subject: RE: Global Variables (use of) From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 21 Jul 2000 18:42:54 +0100 |
> <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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re[2]: Global Variables (use of), Michael R. Hahn | Thread | Re: Global Variables (use of), Jeni Tennison |
RE: document() function..., Kay Michael | Date | RE: How to get the parent node in a, Kay Michael |
Month |