How to decode EXI file (Efficient XML AgileDelta) without the Tag <?xml version="1.0" encoding="UTF-8"?> -
i tried encode nd decode html file efficient xml. how prevent decoder add tag in begining of result file ? here code using:
efxfactory factory = efxfactory.newinstance(); fileinputstream input = new fileinputstream(exifilename); fileoutputstream output = new fileoutputstream(encodedfilename); transcoder trans = factory.newtranscoder(); trans.encode(input, output);
i tried change properties of factoy didn't help. example:
factory.setproperty(efxproperty.header, false);
i suggest contact agiledelta support because api product-specific , not published.
having said, if api supports sax, can use jaxp transformerhandler convert sax events xml or without xml declaration @ front.
Comments
Post a Comment