This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Two versions of variable expression
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Two versions of variable expression
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 10 Apr 2001 18:11:07 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- References: <NEBBIAJEEKCKJBCOCECHOEMCCHAA.joerg.colberg@econovo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I posted this question last week already but somehow it never
> showed up on the list. So here is my question again. Consider the
> following two expressions:
but the same question is answerd most days anyway. If you use the
form with the select expression then you are making a node set
ie a set of nodes in the original document.
in the form without the select expression you are copying nodes from the
original document into a result tree fragment. this is not queryable in
XSLT 1.0 unless you use a node-set() extension function which might be
provided by your system.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list