Top "Lxml" questions

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

Best way for a beginner to learn screen scraping by Python

This might be one of those questions that are difficult to answer, but here goes: I don't consider my self …

python screen-scraping beautifulsoup lxml scrapy
How do I match contents of an element in XPath (lxml)?

I want to parse HTML with lxml using XPath expressions. My problem is matching for the contents of a tag: …

python xpath lxml predicate
python lxml append element after another element

I have the following HTML markup <div id="contents"> <div id="content_nav"> something goes here &…

python html append lxml
using lxml and iterparse() to parse a big (+- 1Gb) XML file

I have to parse a 1Gb XML file with a structure such as below and extract the text within the …

python xml parsing lxml iterparse
using xpath to select an element after another

I've seen similar questions, but the solutions I've seen won't work on the following. I'm far from an XPath expert. …

xpath lxml
How can I install lxml in docker

I want to deploy my python project in docker, I wrote lxml>=3.5.0 in the requirments.txt as the project …

python docker lxml dockerfile
Parsing broken XML with lxml.etree.iterparse

I'm trying to parse a huge xml file with lxml in a memory efficient manner (ie streaming lazily from disk …

python xml sax lxml
How to find XML Elements via XPath in Python in a namespace-agnostic way?

since I had this annoying issue for the 2nd time, I thought that asking would help. Sometimes I have to …

python xml xpath lxml elementtree
Error using etree in lxml

I want to use xpath in python . I tried import xml.etree.ElementTree as ET Since this library has limited …

python windows python-2.7 lxml xml.etree
Is there a way to force lxml to parse Unicode strings that specify an encoding in a tag?

I have an XML file that specifies an encoding, and I use UnicodeDammit to convert it to unicode (for reasons …

python lxml