# xml - pydoc - phpman

> **TLDR:** XMLStarlet Toolkit: query, edit, check, convert, and transform XML documents.
>
- Display general help, including the list of subcommands:
  `xml --help`
- Execute a subcommand with input from a file or URI, printing to `stdout`:
  `xml {{subcommand}} {{options}} {{path/to/input.xml|URI}}`
- Execute a subcommand using `stdin` and `stdout`:
  `xml {{subcommand}} {{options}}`
- Execute a subcommand with input from a file or URI and output to a file:
  `xml {{subcommand}} {{options}} {{path/to/input.xml|URI}} > {{path/to/output}}`
- Display help for a specific subcommand:
  `xml {{subcommand}} --help`
- Display version:
  `xml --version`

*Source: tldr-pages*

---

Help on package xml:

## NAME
    xml - Core XML support for Python.

## MODULE REFERENCE
    <https://docs.python.org/3.10/library/xml.html>

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.

## DESCRIPTION
    This package contains four sub-packages:

    dom -- The W3C Document Object Model.  This supports DOM Level 1 +
           Namespaces.

    parsers -- Python wrappers for XML parsers (currently only supports Expat).

    sax -- The Simple API for XML, developed by XML-Dev, led by David
           Megginson and ported to Python by Lars Marius Garshol.  This
           supports the SAX 2 API.

    etree -- The ElementTree XML library.  This is a subset of the full
           ElementTree XML release.

## PACKAGE CONTENTS
    dom (package)
    etree (package)
    parsers (package)
    sax (package)

## DATA
    __all__ = ['dom', 'parsers', 'sax', 'etree']

## FILE
    /usr/lib/python3.10/xml/__init__.py


