xmlsect

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2017 License: MPL-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

= XML Sectrix (xmlsect)
David Gamba, DavidGamba at gmail.com

== NAME

xmlsect - XML Sectrix: Quickly query an XML file using XPath 1.0.

This tool reads a whole XML file into memory, extracts its XML Namespaces using a regular expression and then loads all the _namespaces_ for you.

When there is a default namespace, it automatically loads it under the namespace ID *+_+* (or *DEFAULT*).
An example XPath would then look like `+/_:a/_:b/_:c+`.

== SYNOPSIS

*xmlsect* _file_ [_xpath_] [_relative_xpath_] [*--tree* [*--unique*] [*--limit _n_*]]

== Installation

* Using Golang:
+
----
go install github.com/DavidGamba/xmlsect
----

* From the latest release: https://github.com/DavidGamba/xmlsect/releases

== Credits

This tool is using the awesome libraries created by Santhosh Kumar Tekuri, https://github.com/santhosh-tekuri/xpath[xpath] and https://github.com/santhosh-tekuri/dom[dom].

== SOURCE CODE

github: https://github.com/DavidGamba/xmlsect

== LICENSE

This file is part of xmlsect.

Copyright (C) 2017  David Gamba Rios

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package semver - Allows you to provide a simple consistent way to version different projects using SemVer.
Package semver - Allows you to provide a simple consistent way to version different projects using SemVer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址