Navigation
index
lxml v2.3 documentation
»
Contents:
APIs specific to lxml.etree
lxml.etree
Other Element APIs
Trees and Documents
Iteration
Error handling on exceptions
Error logging
Serialisation
CDATA
XInclude and ElementInclude
write_c14n on ElementTree
How to build lxml from source
Cython
Github, git and hg
Setuptools
Running the tests and reporting errors
Building an egg
Building lxml on MacOS-X
Static linking on Windows
Building Debian packages from SVN sources
The public C-API of lxml.etree
Writing external modules in Cython
Writing external modules in C
ElementTree compatibility of lxml.etree
lxml.cssselect
The CSSSelector class
CSS Selectors
Namespaces
Limitations
Using custom Element classes in lxml
Background on Element proxies
Element initialization
Setting up a class lookup scheme
Generating XML with custom classes
Implementing namespaces
BeautifulSoup Parser
Parsing with the soupparser
Entity handling
Using soupparser as a fallback
Using only the encoding detection
Python extensions for XPath and XSLT
XPath Extension functions
XSLT extension elements
lxml FAQ - Frequently Asked Questions
General Questions
Installation
Contributing
Bugs
Threading
Parsing and Serialisation
XPath and Document Traversal
html5lib Parser
Differences to regular HTML parsing
Function Reference
Why lxml?
Motto
Aims
What’s new in lxml 2.0?
Changes in etree and objectify
New modules
lxml.html
Parsing HTML
HTML Element Methods
Running HTML doctests
Creating HTML with the E-factory
Working with links
Forms
Cleaning up HTML
HTML Diff
Examples
How to read the source of lxml
What is Cython?
Where to start?
lxml.etree
Python modules
lxml.objectify
lxml.html
Memory management
lxml.objectify
The lxml.objectify API
Asserting a Schema
ObjectPath
Python data types
How data types are matched
What is different from lxml.etree?
Parsing XML and HTML with lxml
Parsers
The target parser interface
The feed parser interface
iterparse and iterwalk
Python unicode strings
Benchmarks and Speed
General notes
How to read the timings
Parsing and Serialising
The ElementTree API
XPath
A longer example
lxml.objectify
Document loading and URL resolving
XML Catalogs
URI Resolvers
Document loading in context
I/O access control in XSLT
Sax support
Building a tree from SAX events
Producing SAX events from an ElementTree or Element
Interfacing with pulldom/minidom
The lxml.etree Tutorial
The Element class
The ElementTree class
Parsing from strings and files
Namespaces
The E-factory
ElementPath
Validation with lxml
Validation at parse time
DTD
RelaxNG
XMLSchema
Schematron
(Pre-ISO-Schematron)
XPath and XSLT with lxml
XPath
XSLT
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
lxml v2.3 documentation
»