***URGENT*** SAX Parser and encoding
1 posts in topic
Flat View  Flat View

Posted By:   Pary_Alavi
Posted On:   Tuesday, March 11, 2003 03:35 AM


I 'm developing an application that converts XML document to text file.

I am using javax.xml.parsers.SaxParser to parse the XML file, now I want to know what are the encoding names that the XML document could have and Saxparser could parse the document without error.

Re: ***URGENT*** SAX Parser and encoding

Posted By:   Frank_Chan  
Posted On:   Tuesday, March 11, 2003 05:03 AM

you can use anything encoding in your XML document,you just define the corrent encoding in encoding declaration. for example, my document contain chinese, the xml prolog will like the following format:
About | Sitemap | Contact