Hey Steven, wow thanks, that works exactly as advertised!
Incidentally, was this just something you figured out through experiment or is it documented somewhere and I missed it? thanks again -- sam On 15/01/2008, Steven Parkes <[EMAIL PROTECTED]> wrote: > > * 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 >
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel