Using DOM, how can I get at the XML declaration?

For example, for:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

How can I find out the version, encoding, and standalone state of the
document?  I see nothing in DOM that helps me, as the XML declaration
isn't reported through a PI (org.w3c.dom.ProcessingInstruction). 
Thanks.

-Brett

Reply via email to