Command line tool to process HTML/XML/JSON locally or from online sources
Xidel is a command line tool to query data from HTML/XML web pages, JSON-APIs and local files.
It implements interpreters for XPath 2, XPath 3, XQuery 1, XQuery 3, JSONiq, CSS selectors and custom pattern matching.
XPath and CSS selectors are the most efficient way to select certain elements from XML/HTML documents.
JSONiq (with custom extensions) is an easy way to select data from JSON.
XQuery is a Turing-complete superset of XPath and allows arbitrary data transformations and the creation of new documents.
Pattern matching is for XML/HTML documents what regular expressions are for plaintext, i.e. pattern matching behaves like a regular expression over the space of tags, instead over the space of characters.
Xidel implements a kind of internal pipes to pipe HTTP requests from one query to the next, so there is no need to distinguish selecting links and downloading the data referenced by them. Therefore arbitrary complex queries going over arbitrary many pages can be executed with a single call of Xidel.
- Runs-on:OS X
29 October 2016
Leaders and contributors
|Benito van der Zander (Benibela)||sole developer|
Resources and communication
|Weak prerequisite||OpenSSL (dev version), for https on *nix|
|Required to build||Freepascal|
|Required to build||Lazarus|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.