This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Global Variables (use of)
- To: "Buss, Jason A" <xsl-list at mulberrytech dot com>
- Subject: Re: Global Variables (use of)
- From: "Michael R. Hahn" <sgml dot xml at att dot net>
- Date: Fri, 21 Jul 2000 14:02:19 -0400
- Organization: Document Management Solutions, Inc.
- References: <ADEE1187B809D411929C00A024B28530F431C4@cess01amx03.cessna.textron.com>
- Reply-To: xsl-list at mulberrytech dot com
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