pip install camel_xml2dsl-0.0.x-py3-none-any.whl
Where x belongs to release version
xml2dsl --xml xml_context_file.xml
python3 -m pip install --upgrade build
python -m build
build and install
python -m build && pip install dist/camel_xml2dsl-0.0.1-py3-none-any.whl --force-reinstall
A dockerfile is provided for creating the app container image, can be used with docker or podman.
Example with podman:
podman build -t xml2dsl .
Example with docker
docker build -t xml2dsl .
For run the app mount a volume where the xml is located and run the container in interactive mode:
podman run --privileged -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash
docker run -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash
Then run the utility
xml2dsl --xml context.xml