[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: unable to resolve intersect/union operator

Subject: Re: unable to resolve intersect/union operator
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 May 2005 13:20:21 +0100
xsl intersect
normalize-space($interim/A/text()) intersect 

normalize-space returns a string, and, as the error says, you can only
use nodes with intersect.

You don't want to use these node operations at all.

to intersect , union, etc

<a>hello</a> and <a>hello</a>  are just as distict as 
<a>hello</a> and <a>goodbye</a>
the node operations work on _node identity_ two different nodes are
distinct even if they have the same value.

To compare values you need the value comparison operators such as = not
node operators.

David
[This whole thread is XSLT2-only of course]


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.