Re: [xsl] DOM node?

Subject: Re: [xsl] DOM node?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Mar 2004 10:41:38 GMT
"DOM node" isn't really xpath terminology so the error message could be
better, but the point is that the | operator is node set union
so the things on either side of it have to be node sets.

'Multiuser' |  'Application'

they are strings not node sets.

The boolean or operator is "or" not "|" although you can't use that with
strings either (well, you can but any non empty string is true).

I guess you want

inscope/@key[.='Multiuser' or .='Application']

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
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