lxml
Details
| Last Update: | 2008-06-22 22:57:27 |
| Version: | 2.0.5 |
| License/Program Type: | BSD License |
| Publisher: | Martijn Faassen |
| Price: | $0.00 |
Description:
lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language.
lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. See the introduction for more information about background and goals.
lxml.etree follows the ElementTree API as much as possible, building it on top of the native libxml2 tree. If you are new to ElementTree, start with the lxml.etree Tutorial. See also the ElementTree compatibility overview and the benchmark results comparing lxml to the original ElementTree and cElementTree implementations.
Right after the lxml.etree Tutorial and the ElementTree documentation, the most important place to look is the lxml.etree specific API documentation. It describes how lxml extends the ElementTree API to expose libxml2 and libxslt specific functionality, such as XPath, Relax NG, XML Schema, XSLT, and c14n. Python code can be called from XPath expressions and XSLT stylesheets through the use of extension functions. lxml also offers a SAX compliant API, that works with the SAX support in the standard library.
There is a separate module lxml.objectify that implements a data-binding API on top of lxml.etree. See the objectify and etree FAQ entry for a comparison.
In addition to the ElementTree API, lxml also features a sophisticated API for custom element classes. This is a simple way to write arbitrary XML driven APIs on top of lxml. As of version 1.1, lxml.etree has a new C-level API that can be used to efficiently extend lxml.etree in external C modules, including custom element class support.
Requirements:
·
What's New in This Release:
Bugs fixed
· Resolving to a filename in custom resolvers didn't work.
· lxml did not honour libxslt's second error state "STOPPED", which let some XSLT errors pass silently.
· Memory leak in Schematron with libxml2 >= 2.6.31.
0 comments
Add to
lxml Version History
Related Software
|
|
From category: Others |
| edival 0.1.7 is others software developed by Michael Edgar. edival is a simple EDI file parser and validator. Current functionality is limited to ANSI X12 formatted data. edival&039;s main... |
|
|
From category: Markup |
| EDIReader 3.10 is markup software developed by BerryWorks. EDIReader is a Java package for parsing business documents structured according to EDI (Electronic Data Interchange) standards. It... |
|
|
From category: Others |
| e3 2.7.0 is others software developed by kleine. e3 is a micro text editor with an executable code size between 3800 and 35000 bytes, depending on used assembler options, platform and self compress... |
|
|
From category: IDEs |
| Luke-SDK software is primarily an Integrated Development Environment for Boo, C, C++, C, Java, PHP.... |
|
|
From category: Emacs |
| Emacs Common Lisp 20061030 is emacs software developed by Lars Brinkhoff. Emacs Common Lisp is an implementation of Common Lisp, written in Emacs Lisp. It does not yet purport to conform to the ANS... |
|
|
From category: Markup |
| DocBook 4.5CR1 is markup software developed by DocBook Open Repository development team. DocBook is an XML/SGML vocabulary that enables you to create document content in a presentation-neutral form... |
|
|
From category: Text-Editors |
| SpeakTclEdit is a Linux console speaking text editor.... |
|
|
From category: IDEs |
| EditiX 5.0 is ides software developed by Alexandre Brillant. EditiX is a cross-platform and multi-purpose XML/XSLT editor, which helps Web authors and programmers use XML and XML-related technologi... |
|
|
From category: Others |
| FMPP 0.9.11 is others software developed by Daniel Dekany. FMPP is a general-purpose text file preprocessor tool that uses FreeMarker templates. FMPP project is particularly designed for HTML prepr... |
|
|
From category: Filters |
| cz2cz tools 1.6 pre1 is filters software developed by Vlastimil Krejcir. cz2cz tools is software for converting texts between various charset encodings that are used in the Czech language. The m... |
|
|
From category: Others |
| peppy itself is an attempt to displace my dependency on XEmacs.... |
|
|
From category: IDEs |
| EPIC 0.4.0 is ides software developed by Jan Ploski. EPIC is a Perl IDE based on the Eclipse platform. Features supported are syntax highlighting, on-the-fly syntax checking, content assista... |
|
|
From category: Word-Processors |
| Antiword 0.37 is word processors software developed by Adri van Os. Antiword is a free MS-Word reader for Linux, RISC OS, and DOS. Antiword converts the documents from Word 2, 6, 7, 97, 2000, 2002,... |
|
|
From category: Others |
| DocFrac 3.1.4 is others software developed by Andrew Punch. DocFrac is a tool that converts documents from RTF to HTML and from HTML to RTF. It is useful for bulk document conversion and dynamic We... |
|
|
From category: Markup |
| gxmlviewer is an xmlviewer for Linux with a Netscape plugin, and now a bonobo control as well.... |
Leave a comment