Hello. I have been finding more and more databases
that output in XML. (Getting more popular all the time I guess!)
I am building a script that will take this apart so I can edit items and put it back together in XML format and .cvs format. (to feed to a Spreadsheet).
I am asking because I have only been playing with Python for a week now and some of you might know of some package or routine that does this for me real quick. I am writing a script to just parse it , edit some
values based on another database and paste it back together again.
I have seen some XML class XMLParser( ) deals but do not understand them.
XML example of the data
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Application</key>
<string>SYSTEM31-STMem</string>
<key>ListMem.-2147483648</key>
<dict>
<key>default</key>
<string>2</string>
<key>elements</key>
<array>
<array>
<string>13242</string>
<string>First001</string>
<string>14545554</string>
<string>FDCM</string>
<string>1</string>
<string>Off</string>
<string>15144</string>
<string>Off</string>
<string>-</string>
<string>GRAPH</string>
<string>Off</string>
<string>Off</string>
<string></string>
<string></string>
<string></string>
<string></string>
<string></string>
<string></string>
<string></string>
<string>Edit</string>
</array>
Repeats the above /array 45207 times.
</array>
</dict>
</dict>
</plist>
Thanks
Dave