This is one of the most easy-to-use and feature-rich library for working with XML files in Python. #Python binding #XML processing #XML library #XML #HTML #Python
lxml is a sophisticated, powerful, free and unique Python module that binds the libxml2 and libxslt libraries, allowing Python developers to work with both XML and HTML files insider their Python code.
lxml is an XML (Extensible Markup Language) processing library written in the Python programming language, specifically designed to follow the ElementTree API specification as much as possible.
It can extend the ElementTree API to expose specific functionality of the libxslt and libxml2 libraries, such as Relax NG (Next-Generation), XPath, XML Schema, c14n, XSLT (EXtensible Stylesheet Language), etc.
Developers will be able to use the lxml program to call Python code from XSLT stylesheets and XPath expressions via extension functions. A wide range of tutorials are available on the project’s homepage (see the link at the end of the article).
The software is open source by design and combines the feature completeness and speed of the aforementioned libraries with the simplicity of Python’s API (Application Programming Interface).
It is quite easy to install lxml on a GNU/Linux distribution using the source archive distributed on Softpedia and the project’s official website. Simply download the source package, save it on your Home directory, unpack it, open the Terminal app and navigate to the location of the extracted archive files (e.g. cd /home/softpedia/lxml-3.4.1).
Run the ‘make’ command to compile the program, which should take about 1-2 minutes on a modern computer. After a successful compilation, run the ‘make install’ command as root or the ‘sudo make install’ command as a privileged user to install lxml system wide.
The software is officially supported on GNU/Linux and Microsoft Windows operating systems. It has been successfully tested on 32-bit and 64-bit computers.
What's new in lxml 3.4.1:
- Features added:
- New htmlfile HTML generator to accompany the incremental xmlfile serialisation API. Patch by Burak Arslan.
lxml 3.4.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- main category:
- Text Editing&Processing
- developer:
- visit homepage
Bitdefender Antivirus Free 27.0.35.146
paint.net 5.0.13 (5.13.8830.42291)
Zoom Client 6.0.2.37566
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
IrfanView 4.67
7-Zip 23.01 / 24.04 Beta
Windows Sandbox Launcher 1.0.0
calibre 7.9.0
ShareX 16.0.1
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
- calibre
- ShareX
- Microsoft Teams
- Bitdefender Antivirus Free
- paint.net
- Zoom Client
- 4k Video Downloader
- IrfanView
- 7-Zip
- Windows Sandbox Launcher