# Hpricot Namespaces

**URL:** <https://rubytalk.org/t/hpricot-namespaces/34319>\
**Category:** ruby-talk\
**Created:** [9 January 2007 12:35 UTC](https://rubytalk.org/t/hpricot-namespaces/34319 "2007-01-09T12:35:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrangaye](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@amrangaye](https://rubytalk.org/u/amrangaye)\
**Post date:** [9 January 2007 12:35 UTC](https://rubytalk.org/t/hpricot-namespaces/34319/1 "2007-01-09T12:35:11Z")

</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.
