python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
xml using Python: Identify whether the last of specified tag is reached
I have a large ..xml file with many items closed by a tag, like MATCH. Also, there are other tags too at same level as MATCH, like STATISTIC, so the xml file would be like:
<?xml version="1.0&...
Elkan
Votes: 0
Answers: 1
Parsing large XML file with lxml
I am trying to parse the dblp.xml file(3.2gb) using lxml.
The following below is my code.
from lxml import etree
from io import StringIO, BytesIO
tree = etree.parse("dblp.xml")
However I ge...
Jas
Votes: 0
Answers: 2
ImportError: No module named lxml , although lxml is installed
I'm trying to install gcovr tool in virtualenv and tools installs well, but on running the binary, i see warnings with lxml , how do i fix this?
Commands used:
pip install virtualenv
virtualenv env
so...

Sbk3824
Votes: 0
Answers: 1
Parsing HTML table (lxml, XPath) with enclosed tags
The task is to parse big HTML tables so I use lxml with XPath queries. Sometimes table cells can contain enclosed tags (e.g. SPAN)
<html>
<table>
<tr>
<td>1</td&...
pupinho
Votes: 0
Answers: 1