Convert XSD to TEMP-TABLE

I don't think the "bproxsdto4gl" was designed to read any xsd format.
This tool is used for a DS/TEMP-TABLE type Progress.

Try this test, RUN ...

DEFINE TEMP-TABLE tt-customer LIKE Customer.
FOR EACH Customer NO-LOCK:
CREATE tt-customer.
BUFFER-COPY Customer TO tt-customer.
END.

TEMP-TABLE tt-customer:WRITE-XMLSCHEMA("FILE",
"/tmp/test.xsd", TRUE, ?, FALSE).

run the command

$: bproxsdto4gl /tmp/test.xsd

and the result is:

vi /tmp/test.i
 
Back
Top