I am trying to get DTD information in Xerces-Java 1.0.1 and following EnumVal sample from Xerces-C. I don't see any way to get the element declaration pool (getElemEnumerator method) from DTDValidator. Most of the methods in DTDValidator take element declaration index and I did not see anything obvious that would map an element name to its index in the pool. Can somebody shed some light on this? Some sample code would be helpful.
TIA, Praki