What Is the Python "xml" Package

This section describes the 'xml', the default package provided in the Python language to support XML processing.

What Is "xml" Package? "xml" is the built-in package provided in the Python language to support XML processing. Its functionalities are divided into 4 sub-packages.

xml.dom - DOM (Document Object Model) Level 1 API definition.

xml.dom.minidom - A minimum DOM implementation.

xml.dom.pulldom - Support for building partial DOM object tree.

xml.parsers - Interfaces to XML parser libraries.

xml.parsers.expat - The XML parser Expat binding.

xml.sax - Supports SAX (Simple API for XML) 2 API. It's based on XML-Dev.

xml.etree - Supports a subset of the full ElementTree XML release.

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

 XML File Browsers

 XML-JSON Document Conversion

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

 XSD (XML Schema Definition) Introduction

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 Java Implementation of XSLT

 XSLT (XSL Transformations) Introduction

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 PHP Extensions for XML Manipulation

Processing XML with Python Scripts

What Is the Python "xml" Package

 xml.dom.minidom for Building XML Document

 xml.dom.minidom for Parsing XML Document

 xml.sax for Parsing XML Document

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML Plugin Packages for Atom Editor

 XML 1.1 Changes and Parsing Examples

 Archived Tutorials

 References

 Full Version in PDF/EPUB