* however I can't get _any_ search results when looking for elements
        in a document that has specified a namespace, but with the default/
        empty prefix.

You have to make whatever default namespaces you use explicit, e.g., try
something like this example for xhtml:

    items = doc.find '//x:span', "x:http://www.w3.org/1999/xhtml";

The original poster said that //* wasn't returning anything, which I can't
duplicate: it returns everything for me, which I believe is the correct
behavior.


_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to