> $("NS|MyElement",myDOMDocument); 

Right now jQuery treats that the same as the comma CSS selector,  "select
all NS elements plus all MyElement elements," which of course isn't what you
want. However, $("NS:MyElement") would mean "select all NS elements that
match the (non-existent) pseudo-selector MyElement." That's not what you
want either. 

Here's another thought...you could pass jQuery the nodes you manually select
with getElementsByNameNS or the other NS functions. Would that be good
enough for your situation?

$( myXML.getElementsByNameNS(...) )


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to