# Where is HTML::XMLParser?

**URL:** <https://www.ruby-forum.com/t/where-is-html-xmlparser/96163>\
**Category:** Ruby\
**Created:** [June 26, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163 "2006-06-26T23:09:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmg-eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/f04885/32.png) [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Post date:** [June 26, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163/1 "2006-06-26T23:09:50Z")

</div>

I’ve seen it mentioned as maybe being in  
REXML, NET, or MECHANIZE, but have not  
managed to find in any of those.

Most likely, I’ve missed it.  
Anyone know how to find it?

And can anyone compare with HTree?  
(I like HTree’s to\_rexml function, but  
are they equally robust?)

thanks  
eric

---

<div class="post-metadata">

**Author:** ![xmg-eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/f04885/32.png) [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Post date:** [June 28, 2006, 12:12am UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163/2 "2006-06-28T00:12:48Z")

</div>

Thanks much, Aaron.

---

<div class="post-metadata">

**Author:** ![xmg-eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/f04885/32.png) [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Post date:** [June 27, 2006, 7:15am UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163/3 "2006-06-27T07:15:39Z")

</div>

On Tue, Jun 27, 2006 at 06:08:00AM +0900, Eric A. wrote:

> I’ve seen it mentioned as maybe being in  
> REXML, NET, or MECHANIZE, but have not  
> managed to find in any of those.

Mechanize uses HTML::XMLParser to parse HTML.

> Most likely, I’ve missed it.  
> Anyone know how to find it?

HTML::XMLParser is part of the ruby-web project:  
[http://rubyforge.org/projects/ruby-web/](http://rubyforge.org/projects/ruby-web/)

> And can anyone compare with HTree?  
> (I like HTree’s to\_rexml function, but  
> are they equally robust?)

Not sure… I’ve never used HTree.

Hope some of this helps!

–Aaron

---

<div class="post-metadata">

**Author:** ![xmg-eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/f04885/32.png) [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Post date:** [June 28, 2006, 12:19am UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163/4 "2006-06-28T00:19:29Z")

</div>

Note: I see why my searches led nowhere.

The online documents don’t even mention the  
HTML module, much less an XMLParser inside it!
