Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.03 KB

readme.md

File metadata and controls

32 lines (24 loc) · 1.03 KB

Oxygen XML Scripting – Docker image

Docker image for the Oxygen XML scripting API.

support me via GitHub Sponsors chat with me on Twitter

Usage

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