edireader icon indicating copy to clipboard operation
edireader copied to clipboard

https://github.com/BerryWorksSoftware/edi-json

Open anar1501 opened this issue 1 year ago • 0 comments

I saw the following project you did and I really liked a method here. ediToJson.asJson(reader); Is there a way to convert the same from edi to xml? ediToXml.asXml(String ediData); If there is, can you show it because I want to assign it directly to a variable, not to a file. So using the code below needn't for me. SAXSource source = new SAXSource(createEDIReader(), new InputSource(inputReader)); StreamResult result = new StreamResult(generatedOutput); TransformerFactory.newInstance().newTransformer().transform(source, result);

anar1501 avatar Mar 10 '23 05:03 anar1501