An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.5% on proxy.golang.org
Top 2.8% dependent packages on proxy.golang.org
Top 2.3% dependent repos on proxy.golang.org

proxy.golang.org : github.com/muesli/go-pkg-xmlx

This package wraps the standard XML library and uses it to build a node tree of any document you load. This allows you to look up nodes forwards and backwards, as well as perform simple search queries. Nodes now simply become collections and don't require you to read them in the order in which the xml.Parser finds them. The Document currently implements 2 search functions which allow you to look for specific nodes. SelectNode() returns the first, single node it finds matching the given name and namespace. SelectNodes() returns a slice containing all the matching nodes (without recursing into matching nodes). SelectNodesRecursive() returns a slice of all matching nodes, including nodes inside other matching nodes. Note that these search functions can be invoked on individual nodes as well. This allows you to search only a subset of the entire document.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/muesli/go-pkg-xmlx
Keywords: hacktoberfest
License: CC0-1.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/muesli
Dependent packages: 4
Dependent repositories: 5
Stars: 1 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago

    Loading...
    Readme
    Loading...