Subject: Re: Passing document fragments as nodsets
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Jul 2003 11:46:02 +0100
|
Is the test correct for erroring if the set is null?
<xsl:if test="not($text-nodes)">
yes (except sets are empty not null)
Note however if you have defined text-nodes using with-param with
content rather than a selct expression, it will never be empty as
(once converted back to a node set with nodeset()) it will have (at
least) a root node.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Michael Kay - Mon, 7 Jul 2003 08:02:51 -0400 (EDT)
|
|