Xul

XML Utilities

Navigation

  • ppx – Pretty Print XML
  • xp – Select nodes with XPath
  • validate – Validate XML
  • transform – Transform XML
  • XML source
  • Changelog

  • Xul index

Related Topics

  • Documentation overview
    • Next: ppx – Pretty Print XML

Quick search

Xul documentation¶

XML [1] utilities written in Python.

Current version: 2.4.2

Python versions Wheel License PyPI version

Xul scripts¶

  • ppx – Pretty Print XML
    • White Space
    • Options
    • Syntax Highlighting
    • XML declaration
    • Examples
  • xp – Select nodes with XPath
    • XPath expression
    • Options
    • Print result’s XPath
    • Namespaces in XML
    • Extensions to XSLT
    • Pretty print element result
    • Print file names
    • xpath method
  • validate – Validate XML
    • XSD
    • DTD
    • RELAX NG
    • Options
    • XML Validation
    • Validation Errors
    • XSD Validation
    • Print file names
  • transform – Transform XML
    • Options
    • XSL output
    • Save transformation result to file
    • XML declaration

Other¶

  • XML source
    • File
    • Pipe
    • URL
    • Examples
  • Changelog
    • 2.4.1 (2022-02-14)
    • 2.4.0 (2022-02-14)
    • 2.3.0 (2021-01-28)
    • 2.2.1 (2021-01-14)
    • 2.2.0 (2020-10-07)
    • 2.1.0 (2020-09-09)
    • 2.0.3 (2020-06-10)
    • 2.0.2 (2020-05-31)
    • 2.0.1 (2020-03-08)
    • 2.0.0 (2020-03-07)

Installing¶

The Xul command-line scripts can be installed with pip:

pip install Xul

Install Xul with Pygments for XML syntax highlighting.

pip install Xul[syntax]

Dependencies¶

Xul uses the excellent lxml XML toolkit, a Pythonic binding for the C libraries libxml2 and libxslt.

Changelog¶

Xul Changelog.

Source¶

The source can be found on Bitbucket.

Indices and search¶

  • Index
  • Search Page

Footnotes

[1]Extensible Markup Language (XML) 1.0
©2022, Peter Adrichem. | Powered by Sphinx 1.8.6 & Alabaster 0.7.12 | Page source