I tried to encode nd decode HTML file with Efficient XML. How do I prevent from the decoder to add the tag in the begining of the result file ? Here is the code i am 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 to change some properties of the factoy but it didn't help. for example:
factory.setProperty(EFXProperty.HEADER, false);