alpine/xml

Sponsored OSS

By alpine

Updated 4 days ago

several xml tools to work on xml file as jq to json.

Image
2

100K+

alpine/xml repository overview

xml parser

Github Repo

https://github.com/alpine-docker/xml

Daily Travis CI build logs

https://travis-ci.org/alpine-docker/xml

Docker image tags

https://hub.docker.com/r/alpine/xml/tags/

installed tools

If you need other xml tools, let me know.

Command samples

get version

docker run -ti --rm alpine/xml sh -c "curl -s https://raw.githubusercontent.com/codecov/example-java/master/pom.xml |xq .project.version"

exclude version

docker run -ti --rm alpine/xml sh -c "curl https://raw.githubusercontent.com/codecov/example-java/master/pom.xml |xq 'del(.project.version)' --xml-output"

convert a local xml to json

docker run -ti --rm -v $(pwd):/apps -w /apps alpine/xml sh -c "xq .< pom.xml"

For usage of xmllint, please go through its homepage

Tag summary

Content type

Image

Digest

sha256:89af2d21e

Size

27 MB

Last updated

4 days ago

docker pull alpine/xml:1.8.1

This week's pulls

Pulls:

1,232

Last week