On Fri, Jan 16, 2009 at 1:59 PM, mike <mike...@gmail.com> wrote:
> On Fri, Jan 16, 2009 at 10:58 AM, mike <mike...@gmail.com> wrote:
>
>> only if it's parseable xml :)
>>
>
> Or not! Ignore me. Supposedly this can handle HTML too. I'll have to
> try it next time. Normally I wind up having to use tidy to scrub a
> document and try to get it into xhtml and then use simplexml. I wonder
> how well this would work with [crappy] HTML input.
>

Great if you use @.  ;)  I'd try to make sure all of my input was
stored as proper x/html in the db before I really tried parsing it, so
I'm not sure of his setup, but I use getElementsByTagName all the time
and love it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to