Docker image for the Oxygen XML scripting API.
Note: By using this Docker image, you agree to the EULA. You can view it by running docker run --entrypoint /bin/cat derhuerst/oxygen-xml EULA_OxygenXML_Editor.txt
.
docker run \
-e AGREE_EULA=true \ # agree to EULA
-it \ # interactive terminal session
derhuerst/oxygen-xml:2.0.0 \
<oxygen-script-here>
For example, let's flatten a tree of XSD files:
ls xsd/**.xsd
# xsd/schema.xsd
# xsd/sub-schema.xsd
docker run \
-e AGREE_EULA=true -it \
-v xsd:/data/xsd \ # mount xsd directory at /data/xsd
derhuerst/oxygen-xml:2.0.0 \
flattenSchema.sh -in:/data/xsd/schema.xsd -outDir:/data -verbose