Skip to content

Docker image for the Oxygen XML scripting API.

Notifications You must be signed in to change notification settings

derhuerst/oxygen-xml-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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