[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPATH multiple predicate and negation
Using XPath 2.0 I would try to do this as follows: //note[not(@type = ('meaning', 'text', 'pr-res'))] With XPath 1.0 this would probably be ok: //note[not(@type = 'meaning' or @type = 'text' or @type = 'pr-res')] (these expressions are not tested) On Mon, Nov 8, 2010 at 12:05 PM, GC!bor TC3th <roysy@xxxxxxxx> wrote: > Dear All, > > I wish to find with XPATH all those note elements, the type attribute > of which is not meaning, pr-res and text but something else. > > I tried this but it did not work: > > //note[@type!="meaning" and "text" and "pr-res" ] > > could someone give me a suggestion? > > Thanks, > > Gabor -- Regards, Mukul Gandhi
|
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
|