On this Page

    JDE Converter

    (As of 3.3.009.01)

    ../DocOrigin/DO/Bin/Java/JDEConverter.jar

    The Base Command

    java -jar JDEConverter.jar

    Run without options to see usage text.

    To see what version of the converter is running, add -v

    Production

    This converter supports JDE PDF and OSA XML as input data types. The output is a "Data XML"; an XML file compatible with DocOrigin's Merge engine.

    JDE PDF to Data XML

    -jdePdfToDataXml -in inputPdf -out outputXml [-docDefiningNode/-splitDocsByNode "Invoice Number"] [-docDefiningNodeID "8|135"] [-osaXmlInputFixup]

    Use the appropriate data node spec to determine document splitting. The -docDefiningNode[ID] options can be used in conjunction and repeated to list multiple split nodes.

    -docDefiningNode uses Name or Alias (if the Name is missing).
    -docDefiningNodeID uses "sectionID|controlID" for when there are possible conflicts or uncertainties with using Name.
    -splitDocsByNode starts a new document when the specified data node is encountered, regardless of its value. Overrides the -docDefiningNode[ID] options.

    Use -osaXmlInputFixup to apply corrections to the interim OSA XML, such as fixing whitespace issues in attribute names.

    OSA XML to Data XML

    The options for OSA XML input are identical to the JDE PDF input options. The OSA to Data conversion is a step of PDF to Data conversion, as PDF is temporarily converted to OSA and then to Data.

    -osaXmlToDataXml -in inputXml -out outputXml [-docDefiningNode/-splitDocsByNode "Invoice Number"] [-docDefiningNodeID "8|135"] [-osaXmlInputFixup]

    Development

    JDE PDF to OSA XML

    For development, the OSA XML must be explicitly generated to use the OSA XML to DocOrigin XATW option.

    -jdePdfToOsaXml -in inputPdf -out outputXml [-fontScale 15]

    Increase the default -fontScale value (15) if objects appear too narrow in the next step's resulting XATW.

    OSA XML to XATW

    -osaXmlToXatw -in inputXml -out outputXatw

    JDE PDF to Blueprint XML

    For developers, a full data "Blueprint" of potential fields, regardless of those present in the specific data file.

    -jdePdfToBlueprintXml -in inputPdf -out outputXml [-osaXmlInputFixup]

    OSA XML to Blueprint XML

    -osaXmlToBlueprintXml -in inputXml -out outputXml [-osaXmlInputFixup]