Skip to content

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

@anarrmammadov

Description

@anarrmammadov

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions