|
WBXML parsing -
07-25-2008, 06:57 AM
Hi ,
I would like to parse a WBXML coming from a server. Is there a code sample available for using the WBXMLParser class to parse the content ?
After some experimenting i did the following
WBXMLParser xmlParser = new WBXMLParser((InputStream)bin);
xmlParser.setTagTable(0,tagTable);
xmlParser.parse(new XMLParserHandler());
but i get the following exception exception "org.xml.sax.SAXException: Element does not exist in tag table". I added "WML" to the tagtable.
pls help
thanks
krishnan
Last edited by krishnanrajah : 07-29-2008 at 05:25 AM.
|