M5 schreef:
> OK, I already knew that making it valid doesn't change the result. But
> the question remains, how to parse the HTML as it arrives (which I have
> no control over anyway), besides doing a str_replace on and
> inserting a token, which I later replace (which I shouldn't have to,
> righ
OK, I already knew that making it valid doesn't change the result.
But the question remains, how to parse the HTML as it arrives (which
I have no control over anyway), besides doing a str_replace on
and inserting a token, which I later replace (which I shouldn't have
to, right?)
...Rene
Actually, never mind. It does not have to be valid to work.
On Dec 24, 2007, at 6:15 PM, Casey <[EMAIL PROTECTED]> wrote:
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just getting into DOMDocument()... I'm loading an HTM
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just getting into DOMDocument()... I'm loading an HTML page and
trying to extract certain bits of text. Just one problem: loadHTML()
seems to ignore orphan tags like ''. For ex
4 matches
Mail list logo