# Hpricot Namespaces

**URL:** <https://www.ruby-forum.com/t/hpricot-namespaces/81493>\
**Category:** Ruby\
**Created:** [January 9, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/hpricot-namespaces/81493 "2007-01-09T13:36:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrangaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@amrangaye](https://www.ruby-forum.com/u/amrangaye)\
**Post date:** [January 9, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/hpricot-namespaces/81493/1 "2007-01-09T13:36:26Z")

</div>

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.
