php-general | 2005051
Date: 05/14/05
- Next message: Cima: "[PHP] using require"
- Previous message: Brian V Bonini: "Re: [PHP] Re: why are session only working with cookies?"
- In reply to: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Next in thread: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Reply: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > Hi,
> > I've used loadHTML() to read a HTML file to DOM. This file
> > starts with a string like <!DOCTYPE HTML PUBLIC "-//W3C//DTD
> > HTML 4.01 Transitional//EN">
> >
> > Do someone know how I can access this string? By reading the
> > doctype back from DOMDocument I only found the name (HTML)
> > but nothing more...
> >
>
> Use $document->doctype, its DOMDocumentType object..
>
That's part of DOM XML isn't it? I think he's referring to the newer DOM
extension since 'loadHTML() is cited...???
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Cima: "[PHP] using require"
- Previous message: Brian V Bonini: "Re: [PHP] Re: why are session only working with cookies?"
- In reply to: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Next in thread: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Reply: Jared Williams: "RE: [PHP] DOMDocument and html doctype"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

