Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

alpine-docker/xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xml parser

This repo has been archived, its image will be maintained in repo https://github.com/alpine-docker/multi-arch-docker-images/tree/master/xml

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

About

(Archived )several xml tools to work on xml file as jq to json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •