Hello,

I'm trying to make use of the getElementById DOM function, but as pointed out in bug #26813 this won't work unless an attribute is explicitely defined in an associated DOCTYPE.

This is fine, but I can't seem to find any relevent examples that show how to apply a DOCTYPE to a DomDocument. The class DomDocumentType seems like a good starting point, but I don't see how that interfaces with DomDocument.

So here's what I want to do:

1. Create a new DomDocument
2. Associate this with a DomDocumentType somehow
3. Build an XML structure using the DOM
4. Query this structure using getElementById

Sorry if I'm missing something obvious.

Also, is there a better list/newsgroup for this?

Thanks,
-Dan

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



Reply via email to