[XML-SIG] SAX event: internalEntityDecl
Lars Marius Garshol
larsga@garshol.priv.no
03 Jul 2001 08:44:21 +0200
* Arne Krug
|
| is there a way to distinguish between SAX entity-events:
| one Entity is declared in an external dtd and
| the other one is directly in the xml-file
It is possible to do this, though the information is not directly
present in any specific event. Using other events it is possible to
figure out where you are at any given time.
startDTD(...)
# events here come from the internal subset
startEntity("[dtd"]
# events here from the external subset
endEntity("[dtd]")
endDTD(...)
I hope this helps.
--Lars M.