|
Posted by David.NQD@gmail.com on 08/20/06 21:13
Hi,
I have a question about PHP5's DOM, but I found the docs on this
section are either incomplete or incorrect (e.g. wrong return types for
several functions). How can external entities, or entities in general,
be added to a DOMDocument? (I'm not asking about adding entity
references because DOMDocument->createEntityReference works like a
charm.)
I should probably state the details around the problem: I am working on
a templating engine that utilizes PHP5's DOM interface
(http://xire.forizon.com for details) so for caching purposes if I can
make the output document include cached versions of other templates via
external entities (XInclude is already used, but not it isn't supported
very well on the client side), then any client-side caching can also be
utilized.
David N. Q. Duong
[Back to original message]
|