Forum: Ruby Hpricot Namespaces

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and 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)

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?

This topic is locked and can not be replied to.