Hpricot Namespaces


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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs