[Tutor] cdata/aml question..
badouglas at gmail.com
Sun Apr 13 08:54:38 CEST 2014
The following text contains sample data. I'm simply trying to parse it
using libxml2dom as the lib to extract data.
As an example, to get the name/desc
d = libxml2dom.parseString(s, html=1)
pcount_ = d.xpath(p1)
p2_ = d.xpath(p2)
for a in pcount_:
neither of the above generates any of the CML name/desc data..
any pointers on what I'm missing???
I can/have created a quick parse/split process to get the data, but I
thought there'd be a straight forward process to extract the data
using one of the py/libs..
More information about the Tutor