Re: DomDocument::GetElementById - a workaround with external DTD
| From: | Erik Franzén | Date: | Sat, 19 Nov 2005 09:08:03 +0000 |
| Subject: | Re: DomDocument::GetElementById - a workaround with external DTD | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226123@lists.php.net to get a copy of this message | ||
I did a typo in the threads post.
The dtd is:
<!ELEMENT Document ANY>
<!ELEMENT CMAES_Model_DbSection ANY>
<!ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED>
but it gives the warning when DomDocument::validate() is called:
Warning: Syntax of value for attribute S_iSectionId of CMAES_Model_DbSection is not valid in <script> on line 23
However getElementById is working...
/Erik