xml data or other?

Artie Ziff artie.ziff at gmail.com
Fri Nov 9 13:54:43 CET 2012


I want to process XML-like data like this:

		ACPI (Advanced Control Power & Integration) testscript for 2.5 kernels.


After manually editing the data above, the python module 
xml.etree.ElementTree parses it without failing due to error in the data 

Edits were substituting '/' for '\' on the end tags, and adding the 
following structure:

<?xml version="1.0"?>
   <testname name=ltpacpi.sh>

Is there a name for the format above (perhaps xhtml)?
I'd like to find a python module that can translate it to proper xml. 
Does one exist? etree?

Many thanks!

More information about the Python-list mailing list