コンテンツにスキップ

未翻訳のページ

このページはまだ日本語に翻訳されていないため、英語の原文を表示しています。 翻訳に協力する

xml Module

The xml package contains interfaces for parsing and manipulating XML documents. Operation complexities and examples are documented on the interface pages:

  • ElementTree — xml.etree.ElementTree: parsing, searching, building and serializing element trees.
  • DOM — xml.dom, xml.dom.minidom and xml.dom.pulldom: document objects, DOM traversal and partial DOM trees built from a stream.
  • SAX — xml.sax and its submodules: parsing with event handlers.
  • Expat — xml.parsers.expat, which re-exports pyexpat: the Expat parser interface.