Varadharajan Sethuraman wrote:
Now I want to extract the value from XML Declaration
(<?xml version="1.0"?>)  in the XML file

You can't access this information from DOM or SAX. But XNI provides it. Extend the Xerces parser of your choice (e.g. org.apache.xerces.parsers.DOMParser) and override the xmlDecl method.

--
Andy Clark * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to