Re: Easiest way to user DomDocument->getElementById()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have run into this behavior on several sites:

$dom->validate('books.dtd');

But according to the docs, the method it is defined

class DOMDocument {

bool validate ( void )

}

Is the dtd (file?) parameter deprecated?

/Erik


Just tested, $dom->validate('books.dtd') generates the warning "DOMDocument::validate() expects exactly 0 parameters, 1 given in ..."

/Erik

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux