edireader
edireader copied to clipboard
https://github.com/BerryWorksSoftware/edi-json
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);