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.5.1

Python versions License PyPI version Wheel Documentation

Xul scripts¶

Supported XML sources are documented in XML source.

  • 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
  • Changelog
    • 2.5.1 (2024-12-26)
    • 2.5.0 (2024-12-25)
    • 2.4.2 (2024-12-15)
    • 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¶

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 GitHub.

Indices and search¶

  • Index

  • Search Page

Footnotes

[1]

Extensible Markup Language (XML) 1.0

©2013-2025, Peter Adrichem. | Powered by Sphinx 8.1.3 & Alabaster 1.0.0 | Page source