Skip to content

xmlsect - Quickly query an XML file using XPath 1.0.

License

Notifications You must be signed in to change notification settings

DavidGamba/xmlsect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML Sectrix (xmlsect)

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

Credits

This tool is using the awesome libraries created by Santhosh Kumar Tekuri, xpath and dom.

LICENSE

This file is part of xmlsect.

Copyright © 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/.

About

xmlsect - Quickly query an XML file using XPath 1.0.

Resources

License

Stars

Watchers

Forks

Packages

No packages published