Hi Hallvard, I've tried all those too....
Eg... path //mysn:item[contains(ItoXML:*,'fred')] path //mysn:item[contains(Name,'fred')] path //mysn:item[contains(*,'fred')] All failed! The only thing that worked are just using attributes or //mysn:item[mysn:name = mysn:name] !?!? [I've cc'd the list just in case! I also posted to usenet:comp.text.xml and someone has had the same problem. I'm gonna try to reproduce it as an example and post ] Cheers, Lordy "Hallvard Tratteberg" <[EMAIL PROTECTED]> on 25/10/2002 10:45:37 Please respond to <[EMAIL PROTECTED]> Business Email To: "Andy Lord" <[EMAIL PROTECTED]> cc: Subject: RE: [Jaxen] Heelp! Cant do Queries with namespaces in [...] Andy, > "//myns:item[contains(text(mysn:name),'fred')]" > etc it seems to fail hopelessly. I can provide an example but that more > or less sums it all up. Either I'm doing something really wrong (and I've > spent hours looking at it) or Jaxen doesnt like namespacey stuff inside > '[...]'. Which I doubt... Why do you use "mysn" as the prefix inside the [...] and "myns" outside? Is it that simple :-) Hallvard ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest