[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: unable to resolve intersect/union operator
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 ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|