Create and append external DOMEntity's?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David.NQD@gmail.com

    #1

    Create and append external DOMEntity's?

    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->createEntityRe ference 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

Working...