Subject: Re: [xsl] unable to resolve intersect/union operator From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 19 May 2005 13:20:21 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] unable to resolve intersect/u, Rahil | Thread | Re: [xsl] unable to resolve interse, David Carlisle |
[xsl] unable to resolve intersect/u, Rahil | Date | RE: [xsl] Testing if an attribute n, Aron Bock |
Month |