07-25-2008, 05:57 AM
|
#1 (permalink)
|
| Knows Where the Search Button Is
Join Date: Aug 2007 Model: 7100T PIN: N/A Carrier: verizon
Posts: 20
Post Thanks: 0 Thanked 0 Times in 0 Posts
| WBXML parsing Please Login to Remove! 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 04:25 AM.
|
| Offline
| |