WBXML encoding/decoding
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello Everybody! Can anyone tell me how can I encode a xml file to a WBXML file and vice varsa. I am using libwbxml library for the same but not getting the correct results all the time this is giving error statement as Attribute table value not found or Unknown xml language. here is my code encoder = wbxml_encoder_create(); wbxml_encoder_set_use_strtbl(encoder,TRUE); ret = wbxml_tree_from_xml(xml,&tree); wbxml_encoder_set_tree(encoder,tree); ret = wbxml_encoder_encode_to_wbxml(encoder,&wbxml,&wbxml_len); //ret = wbxml_conv_xml2wbxml(xml, &wbxml, &wbxml_len, ¶ms); Thsnks in advance