Reply to: Retrieving Entity ContentAugust 11, 2011 at 8:04 pm
There is an API for this:
From the Programmer's Guide: “Returns a DOMNamedNodeMap of DOMEntity objects representing the general entities, both external and internal, declared in the DTD. Duplicates are discarded.”
DOMNamedNodeMap and its property and various methods are what you would end up using.