Top "Lxml" questions

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

selecting attribute values from lxml

I want to use an xpath expression to get the value of an attribute. I expected the following to work …

python python-2.7 attributes lxml
Installing lxml, libxml2, libxslt on Windows 8.1

After additional exploration, I found a solution to installing lxml with pip and wheel. Additional comments on approach welcomed. I'm …

python windows module installation lxml
Remove namespace and prefix from xml in python using lxml

I have an xml file I need to open and make some changes to, one of those changes is to …

python xml namespaces lxml
Efficient way to iterate through xml elements

I have a xml like this: <a> <b>hello</b> <b>world&…

python lxml
BeautifulSoup and lxml.html - what to prefer?

I am working on a project that will involve parsing HTML. After searching around, I found two probable options: BeautifulSoup …

python beautifulsoup lxml
Get second element text with XPath?

<span class='python'> <a>google</a> <a>chrome</a> </…

python xpath lxml
Python pretty XML printer with lxml

After reading from an existing file with 'ugly' XML and doing some modifications, pretty printing doesn't work. I've tried etree.…

python lxml pretty-print
How to re-install lxml?

Python version and Device used Python 2,7.5 Mac 10.7.5 BeautifulSoup 4.2.1. I'm following the BeautifulSoup tutorial but when I try to parse a …

python web-scraping beautifulsoup lxml easy-install
lxml install on windows 7 using pip and python 2.7

When I try to upgrade lxml using pip on my windows 7 machine I get the log printed below. When I …

python-2.7 lxml pip
ImportError: No module named lxml - Even though LXML Is installed

I'm getting this error "ImportError: No module named lxml" Even though LXML Is definitely installed. Specifically it's installed within the …

python amazon lxml amazon-product-api