You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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);
The text was updated successfully, but these errors were encountered: