xsl-list
[Top] [All Lists]

Re: Passing document fragments as nodsets

2003-07-07 03:46:02
  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