Top "Lxml" questions

lxml is a full-featured, high performance Python library for processing XML and HTML.

How to write namespaced element attributes with LXML?

I'm using lxml (2.2.8) to create and write out some XML (specifically XGMML). The app which will be reading it is …

python lxml xml-namespaces cytoscape
How to parse broken HTML with LXML

I'm trying to parse a broken HTML with LXML parser on python 2.5 and 2.7 Unlike in LXML documentation (http://lxml.de/…

python lxml
How to install modules for Python 2.7 on Ubuntu 10.10?

On Ubuntu 10.10, I am unable to install lxml to python 2.7. Here are the steps I take. sudo su - apt-get …

lxml ubuntu-10.10 python-2.7
BeautifulSoup - lxml and html5lib parsers scraping differences

I am using BeautifulSoup 4 with Python 2.7. I would like to extract certain elements from a website (Quantities, see the example …

python web-scraping beautifulsoup lxml html5lib
How to fix issue with the removed cssselect package in lxml?

So they removed the cssselect package from lxml.. Now my python program is useless. I just can't figure out how …

python xpath lxml pypi lxml.html
How do I scrape an https page?

I'm using a python script with 'lxml' and 'requests' to scrape a web page. My goal is to grab an …

python lxml scrape
Can't install python lxml (and libxml2) on windows

I'm trying to install lxml on windows (pip install lxml) but i keep getting following error: ***** Could not find function …

python windows lxml libxml2
Extract Coordinates from KML BatchGeo File with Python

I've uploaded some addresses to BatchGeo and downloaded the resulting KML file from which I want to extract the coordinates. …

python lxml geocoding kml pykml
Why is lxml.etree.iterparse() eating up all my memory?

This eventually consumes all my available memory and then the process is killed. I've tried changing the tag from schedule …

python xml memory lxml iterparse
How to tell lxml.etree.tostring(element) not to write namespaces in python?

I have a huge xml file (1 Gig). I want to move some of the elements (entrys) to another file with …

python namespaces lxml tostring elementtree