Re: xml to wbxml

Stefan Haustein <[email protected]> Sat, 13 Sep 2003 01:45:57 +0200
Newsgroups gmane.comp.java.enhydra.kxml
Organization University of Dortmund
Message-ID <[email protected]>
jones k wrote:

> I am trying to use kxml to convert(without using kdom
> classes) to encode a XML file to WBXML file. 
>  
(...)
>  
> Is there any sample code(without using kdom classes,
> since I dont want to use kdom classes) or example that
> you have written or can you lead me where to find
> those?

The kxml source package contains a example named "Roundtrip.java". When 
you replace the KxmlSerializer by a Wbxml serializer, you get a 
converter that reads an xml file and writes a wbxml file.

HTH,
Stefan