Praki, You can get this information via SAX -- see org.xml.sax.misc.DeclHandler for starters.
Ted ----- Original Message ----- From: "Praki Prakash" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 25, 2000 8:32 AM Subject: getElemEnumerator method in xerces-j > 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 > >