views:

64

answers:

2

Hi,

Does zend framework have html parser like simple html dom?

Thanks

+2  A: 

It's called: Zend_Dom

fabrik
A: 

Why not just use simple html dom?

Bart van Heukelom
To avoid having to add another library to the project? I'd say it's a valid desire. Although simplehtmldom is hard to beat.
Pekka
@Gordon: Because it can't deal with faulty HTML code, which is what sets simple html dom and Zend_DOM apart.
Bart van Heukelom
@Gordon Did not know that, so yeah, native DOM could be used. But why do those other DOMs even exist then? :p
Bart van Heukelom
@Gordon Without offence, I'm more inclined to think the OP just thought multiple libraries (in this case Zend + SimpleHtmlDom) cannot be combined.
Bart van Heukelom
@Gordon The offence, had there been any, would've been to the OP, not you ;)
Bart van Heukelom
@Gordon: What clutter? They're hidden by default anyway. Removing them will make things look more confusing.
Bart van Heukelom