Forum: Ruby Hpricot Namespaces

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8dddac306e16a7ef8146372c2271c4c6?d=identicon&s=25 amrangaye (Guest)
on 2007-01-09 13:36
(Received via mailing list)
Hello.

I've been using hpricot to parse html/xml. I recently ran into a
situation where an xml tag was within a namespace - hpricot returns nil
when I try to search for this particular tag using XPath. It works
using REXML::XPath. I googled, but apart from an open ticket there was
nothing else. Does anyone know if XML namespaces are supported in
hpricot, and how they are used?

Thanks.
This topic is locked and can not be replied to.