{"id":23838299,"url":"https://github.com/shred/commons-xml","last_synced_at":"2025-09-07T15:32:38.483Z","repository":{"id":22110201,"uuid":"25440644","full_name":"shred/commons-xml","owner":"shred","description":"Simple XML reader for Java","archived":false,"fork":false,"pushed_at":"2019-01-27T15:13:27.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-25T19:49:52.673Z","etag":null,"topics":["java-library","lightweight","simple","xml-parser-library"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shred.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-LGPL.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-19T21:22:31.000Z","updated_at":"2019-01-27T15:13:26.000Z","dependencies_parsed_at":"2022-08-19T12:00:09.395Z","dependency_job_id":null,"html_url":"https://github.com/shred/commons-xml","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shred%2Fcommons-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shred%2Fcommons-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shred%2Fcommons-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shred%2Fcommons-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shred","download_url":"https://codeload.github.com/shred/commons-xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232225360,"owners_count":18491372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java-library","lightweight","simple","xml-parser-library"],"created_at":"2025-01-02T16:53:59.420Z","updated_at":"2025-09-07T15:32:38.474Z","avatar_url":"https://github.com/shred.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commons-xml ![build status](https://shredzone.org/badge/commons-xml.svg) ![maven central](https://shredzone.org/maven-central/org.shredzone.commons/commons-xml/badge.svg)\n\nA Java library for easy XML processing.\n\nThis software is part of the Shredzone Commons.\n\n## Features\n\n* Lightweight, very simple and comprehensible API\n* No bells and whistles, no namespaces, no validation, just plain XML parsing\n* Use XPath expressions for selecting the XML parts you want to read\n* Use streaming API and lambda expressions to process the XML data\n\n## Quick Start\n\nA very simple use case is reading text from a configuration file. This is the XML file to be read:\n\n```xml\n\u003cconfig\u003e\n  \u003cfoo1\u003eHello\u003c/foo1\u003e\n  \u003cfoo2\u003eWorld\u003c/foo2\u003e\n\u003c/config\u003e\n```\n\nThis is the program code:\n\n```java\nXQuery xq = XQuery.parse(new FileReader(\"config.xml\"));\nString foo1 = xq.text(\"/config/foo1\"); // Hello\nString foo2 = xq.text(\"/config/foo2\"); // World\n```\n\nThat's all!\n\nBut _commons-xml_ offers a lot more possibilities. Just see the [online documentation](https://shredzone.org/maven/commons-xml/) for more examples.\n\n## Contribute\n\n* Fork the [Source code at Codeberg](https://codeberg.org/shred/commons-xml). Feel free to send pull requests.\n* Found a bug? [File a bug report!](https://codeberg.org/shred/commons-xml/issues)\n\n## License\n\n_commons-xml_ is open source software. The source code is distributed under the terms of [GNU Lesser General Public License Version 3](http://www.gnu.org/licenses/lgpl-3.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshred%2Fcommons-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshred%2Fcommons-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshred%2Fcommons-xml/lists"}