René's URL Explorer Experiment


Title: The lxml.etree Tutorial

Description: The lxml tutorial on XML processing with Python

Keywords:

Generator: Docutils 0.21.2: https://docutils.sourceforge.io/

direct link

Domain: lxml.de

Nonetext/html; charset=utf-8
authorStefan Behnel

Links:

Like the tool? Help making it better! Your donation helps!https://lxml.de/index.html#support-the-project
lxmlhttps://lxml.de/index.html
Introductionhttps://lxml.de/index.html#introduction
Support the projecthttps://lxml.de/index.html#support-the-project
Documentationhttps://lxml.de/index.html#documentation
Downloadhttps://lxml.de/index.html#download
Mailing listhttps://lxml.de/index.html#mailing-list
Bug trackerhttps://lxml.de/index.html#bug-tracker
Licensehttps://lxml.de/index.html#license
Old Versionshttps://lxml.de/index.html#old-versions
Project income reporthttps://lxml.de/index.html#project-income-report
Legal Notice for Donationshttps://lxml.de/index.html#legal-notice-for-donations
Why lxml?https://lxml.de/intro.html
Mottohttps://lxml.de/intro.html#motto
Aimshttps://lxml.de/intro.html#aims
Installing lxmlhttps://lxml.de/installation.html
Where to get ithttps://lxml.de/installation.html#where-to-get-it
Requirementshttps://lxml.de/installation.html#requirements
Installationhttps://lxml.de/installation.html#installation
Building lxml from dev sourceshttps://lxml.de/installation.html#building-lxml-from-dev-sources
Using lxml with python-libxml2https://lxml.de/installation.html#using-lxml-with-python-libxml2
Source builds on MS Windowshttps://lxml.de/installation.html#source-builds-on-ms-windows
Source builds on MacOS-Xhttps://lxml.de/installation.html#source-builds-on-macos-x
Benchmarks and Speedhttps://lxml.de/performance.html
General noteshttps://lxml.de/performance.html#general-notes
How to read the timingshttps://lxml.de/performance.html#how-to-read-the-timings
Parsing and Serialisinghttps://lxml.de/performance.html#parsing-and-serialising
The ElementTree APIhttps://lxml.de/performance.html#the-elementtree-api
XPathhttps://lxml.de/performance.html#xpath
A longer examplehttps://lxml.de/performance.html#a-longer-example
lxml.objectifyhttps://lxml.de/performance.html#lxml-objectify
ElementTree compatibility of lxml.etreehttps://lxml.de/compatibility.html
lxml FAQ - Frequently Asked Questionshttps://lxml.de/FAQ.html
General Questionshttps://lxml.de/FAQ.html#general-questions
Installationhttps://lxml.de/FAQ.html#installation
Contributinghttps://lxml.de/FAQ.html#contributing
Bugshttps://lxml.de/FAQ.html#bugs
Threadinghttps://lxml.de/FAQ.html#threading-1
Parsing and Serialisationhttps://lxml.de/FAQ.html#parsing-and-serialisation
XPath and Document Traversalhttps://lxml.de/FAQ.html#xpath-and-document-traversal
The lxml.etree Tutorialhttps://lxml.de/tutorial.html
The Element classhttps://lxml.de/tutorial.html#the-element-class
The ElementTree classhttps://lxml.de/tutorial.html#the-elementtree-class
Parsing from strings and fileshttps://lxml.de/tutorial.html#parsing-from-strings-and-files
Namespaceshttps://lxml.de/tutorial.html#namespaces
The E-factoryhttps://lxml.de/tutorial.html#the-e-factory
ElementPathhttps://lxml.de/tutorial.html#elementpath
API referencehttps://lxml.de/apidoc/lxml.html
APIs specific to lxml.etreehttps://lxml.de/api.html
lxml.etreehttps://lxml.de/api.html#lxml-etree
Other Element APIshttps://lxml.de/api.html#other-element-apis
Trees and Documentshttps://lxml.de/api.html#trees-and-documents
Iterationhttps://lxml.de/api.html#iteration
Error handling on exceptionshttps://lxml.de/api.html#error-handling-on-exceptions
Error logginghttps://lxml.de/api.html#error-logging
Serialisationhttps://lxml.de/api.html#serialisation
Incremental XML generationhttps://lxml.de/api.html#incremental-xml-generation
CDATAhttps://lxml.de/api.html#cdata
XInclude and ElementIncludehttps://lxml.de/api.html#xinclude-and-elementinclude
Parsing XML and HTML with lxmlhttps://lxml.de/parsing.html
Parsershttps://lxml.de/parsing.html#parsers
The target parser interfacehttps://lxml.de/parsing.html#the-target-parser-interface
The feed parser interfacehttps://lxml.de/parsing.html#the-feed-parser-interface
Incremental event parsinghttps://lxml.de/parsing.html#incremental-event-parsing
iterparse and iterwalkhttps://lxml.de/parsing.html#iterparse-and-iterwalk
Python unicode stringshttps://lxml.de/parsing.html#python-unicode-strings
Validation with lxmlhttps://lxml.de/validation.html
Validation at parse timehttps://lxml.de/validation.html#validation-at-parse-time
DTDhttps://lxml.de/validation.html#dtd-1
RelaxNGhttps://lxml.de/validation.html#relaxng
XMLSchemahttps://lxml.de/validation.html#xmlschema
Schematronhttps://lxml.de/validation.html#schematron-1
(Pre-ISO-Schematron)https://lxml.de/validation.html#pre-iso-schematron-1
XPath and XSLT with lxmlhttps://lxml.de/xpathxslt.html
XPathhttps://lxml.de/xpathxslt.html#xpath
XSLThttps://lxml.de/xpathxslt.html#xslt
lxml.objectifyhttps://lxml.de/objectify.html
The lxml.objectify APIhttps://lxml.de/objectify.html#the-lxml-objectify-api
Asserting a Schemahttps://lxml.de/objectify.html#asserting-a-schema
ObjectPathhttps://lxml.de/objectify.html#objectpath
Python data typeshttps://lxml.de/objectify.html#python-data-types
How data types are matchedhttps://lxml.de/objectify.html#how-data-types-are-matched
What is different from lxml.etree?https://lxml.de/objectify.html#what-is-different-from-lxml-etree
lxml.htmlhttps://lxml.de/lxmlhtml.html
Parsing HTMLhttps://lxml.de/lxmlhtml.html#parsing-html
HTML Element Methodshttps://lxml.de/lxmlhtml.html#html-element-methods
Running HTML doctestshttps://lxml.de/lxmlhtml.html#running-html-doctests
Creating HTML with the E-factoryhttps://lxml.de/lxmlhtml.html#creating-html-with-the-e-factory
Working with linkshttps://lxml.de/lxmlhtml.html#working-with-links
Formshttps://lxml.de/lxmlhtml.html#forms
HTML Diffhttps://lxml.de/lxmlhtml.html#html-diff
Exampleshttps://lxml.de/lxmlhtml.html#examples
lxml.cssselecthttps://lxml.de/cssselect.html
The CSSSelector classhttps://lxml.de/cssselect.html#the-cssselector-class
The cssselect methodhttps://lxml.de/cssselect.html#the-cssselect-method
Supported Selectorshttps://lxml.de/cssselect.html#supported-selectors
Namespaceshttps://lxml.de/cssselect.html#namespaces
BeautifulSoup Parserhttps://lxml.de/elementsoup.html
Parsing with the soupparserhttps://lxml.de/elementsoup.html#parsing-with-the-soupparser
Entity handlinghttps://lxml.de/elementsoup.html#entity-handling
Using soupparser as a fallbackhttps://lxml.de/elementsoup.html#using-soupparser-as-a-fallback
Using only the encoding detectionhttps://lxml.de/elementsoup.html#using-only-the-encoding-detection
html5lib Parserhttps://lxml.de/html5parser.html
Differences to regular HTML parsinghttps://lxml.de/html5parser.html#differences-to-regular-html-parsing
Function Referencehttps://lxml.de/html5parser.html#function-reference
Document loading and URL resolvinghttps://lxml.de/resolvers.html
XML Catalogshttps://lxml.de/resolvers.html#xml-catalogs
URI Resolvershttps://lxml.de/resolvers.html#uri-resolvers
Document loading in contexthttps://lxml.de/resolvers.html#document-loading-in-context
I/O access control in XSLThttps://lxml.de/resolvers.html#i-o-access-control-in-xslt
Python extensions for XPath and XSLThttps://lxml.de/extensions.html
XPath Extension functionshttps://lxml.de/extensions.html#xpath-extension-functions
XSLT extension elementshttps://lxml.de/extensions.html#xslt-extension-elements
Using custom Element classes in lxmlhttps://lxml.de/element_classes.html
Background on Element proxieshttps://lxml.de/element_classes.html#background-on-element-proxies
Element initializationhttps://lxml.de/element_classes.html#element-initialization
Setting up a class lookup schemehttps://lxml.de/element_classes.html#setting-up-a-class-lookup-scheme
Generating XML with custom classeshttps://lxml.de/element_classes.html#generating-xml-with-custom-classes
Implementing namespaceshttps://lxml.de/element_classes.html#implementing-namespaces-1
Sax supporthttps://lxml.de/sax.html
Building a tree from SAX eventshttps://lxml.de/sax.html#building-a-tree-from-sax-events
Producing SAX events from an ElementTree or Elementhttps://lxml.de/sax.html#producing-sax-events-from-an-elementtree-or-element
Interfacing with pulldom/minidomhttps://lxml.de/sax.html#interfacing-with-pulldom-minidom
The public C-API of lxml.etreehttps://lxml.de/capi.html
Passing generated trees through Pythonhttps://lxml.de/capi.html#passing-generated-trees-through-python
Writing external modules in Cythonhttps://lxml.de/capi.html#writing-external-modules-in-cython
Writing external modules in Chttps://lxml.de/capi.html#writing-external-modules-in-c
How to build lxml from sourcehttps://lxml.de/build.html
Cythonhttps://lxml.de/build.html#cython
Github, git and hghttps://lxml.de/build.html#github-git-and-hg
Building the sourceshttps://lxml.de/build.html#building-the-sources
Running the tests and reporting errorshttps://lxml.de/build.html#running-the-tests-and-reporting-errors
Building an egg or wheelhttps://lxml.de/build.html#building-an-egg-or-wheel
Building lxml on MacOS-Xhttps://lxml.de/build.html#building-lxml-on-macos-x
Static linking on Windowshttps://lxml.de/build.html#static-linking-on-windows
Building Debian packages from SVN sourceshttps://lxml.de/build.html#building-debian-packages-from-svn-sources
How to read the source of lxmlhttps://lxml.de/lxml-source-howto.html
What is Cython?https://lxml.de/lxml-source-howto.html#what-is-cython
Where to start?https://lxml.de/lxml-source-howto.html#where-to-start
lxml.etreehttps://lxml.de/lxml-source-howto.html#lxml-etree
Python moduleshttps://lxml.de/lxml-source-howto.html#python-modules
lxml.objectifyhttps://lxml.de/lxml-source-howto.html#lxml-objectify
lxml.htmlhttps://lxml.de/lxml-source-howto.html#lxml-html
Release Changeloghttps://lxml.de/changes-6.0.0.html
Creditshttps://lxml.de/credits.html
Main contributorshttps://lxml.de/credits.html#main-contributors
Special thanks goes to:https://lxml.de/credits.html#special-thanks-goes-to
Sitemaphttps://lxml.de/sitemap.html
Like the tool? Help making it better! Your donation helps!https://lxml.de/index.html#support-the-project
ElementTree APIhttps://docs.python.org/3/library/xml.etree.elementtree.html
generated API documentationhttps://lxml.de/api/index.html
The Element classhttps://lxml.de/tutorial.html#the-element-class
Elements are listshttps://lxml.de/tutorial.html#elements-are-lists
Elements carry attributes as a dicthttps://lxml.de/tutorial.html#elements-carry-attributes-as-a-dict
Elements contain texthttps://lxml.de/tutorial.html#elements-contain-text
Using XPath to find texthttps://lxml.de/tutorial.html#using-xpath-to-find-text
Tree iterationhttps://lxml.de/tutorial.html#tree-iteration
Serialisationhttps://lxml.de/tutorial.html#serialisation
The ElementTree classhttps://lxml.de/tutorial.html#the-elementtree-class
Parsing from strings and fileshttps://lxml.de/tutorial.html#parsing-from-strings-and-files
The fromstring() functionhttps://lxml.de/tutorial.html#the-fromstring-function
The XML() functionhttps://lxml.de/tutorial.html#the-xml-function
The parse() functionhttps://lxml.de/tutorial.html#the-parse-function
Parser objectshttps://lxml.de/tutorial.html#parser-objects
Incremental parsinghttps://lxml.de/tutorial.html#incremental-parsing
Event-driven parsinghttps://lxml.de/tutorial.html#event-driven-parsing
Namespaceshttps://lxml.de/tutorial.html#namespaces
The E-factoryhttps://lxml.de/tutorial.html#the-e-factory
ElementPathhttps://lxml.de/tutorial.html#elementpath
ElementTree APIhttps://docs.python.org/3/library/xml.etree.elementtree.html
special text nodeshttp://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1312295772
DOMhttp://www.w3.org/TR/DOM-Level-3-Core/core.html
XPathhttps://lxml.de/xpathxslt.html#xpath
further iteratorshttps://lxml.de/api.html#iteration
http://www.w3.org/International/tutorials/tutorial-char-enc/http://www.w3.org/International/tutorials/tutorial-char-enc/
namespace prefixeshttp://www.w3.org/TR/xml-names/#ns-qualnames
James Clarkhttp://www.jclark.com/xml/xmlns.htm
section 6.2http://www.w3.org/TR/2009/REC-xml-names-20091208/#defaulting
ElementPathhttp://effbot.org/zone/element-xpath.htm
full XPath implementationhttps://lxml.de/xpathxslt.html#xpath

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.