Hello All,
I'm trying to manipulate some XML-Files. I read them using a sax based XMLReader.
XMLReader parser =
XMLReaderFactory.createXMLReader(
"org.apache.xerces.parsers.SAXParser");
After small changes I what to save the XML-Code again.
To do that I need to know the attibutes (version,)encoding and standalone from the xml declaration:
e.g. <?xml version="1.0" encoding="iso-8859-1" ?>
The class org.apache.xerces.parsers.SAXParser has a "xmlDecl(...)" member to get the information.
Is there a way to get there using the XMLReader ?
thank you
Robert ___________________________________________________________________________ Dr. Robert Spiske Martin-Luther-Universit�t Halle-Wittenberg Kurt-Mothes-Str. 2 06120 Halle Germany
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
