This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I use JAXP and Xerces1.3.1 to parse a XML document to a DOM tree, but can not access the conetent in <!DOCTYPE ...>. At my first look of the DOM spec., there is a node type of DOCUMENT_TYPE_NODE. But when my program traverse the tree, it does not come across this node type. Does anyone have this problem?
Originally posted by Mapraputa Is: There is a DocumentType interface to work with <!DOCTYPE content To get an object implementing DocumentType interface, we can read a doctype attribute of Document object. Does it help?
Thank you, Mapraputa. But does anyone know why DOCTYPE does not appear as a node as noted in the spec.?