[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: expression value not a node set on content match
oops I just posted an anaysis of the expression @code='g' contains(text(),'21 ') and *[ @code='x' and contains(text(),'0141-6400') but I notice that you in fact have select="record[ @tag='773'/*[@code='g' .... which certainly isn't correct but which I can't correct as I don't know what it is supposed to mean. @tag='773' is a boolean: it's true if the current node has an attrbute called tag with value 773 you can't use the / operator after a boolean valued expression only after a node set. I _think_ you want (looking at the original post) record[ data-field[@tag='773'] [subfield[@code='x']='0000-1234' and contains(subfield[@code='g']='21 ') ] ] David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|