Forum Archive

XML Parsing

crk5

Is there any way for parsing an XML document? I tried several ways, but it allways results in an error, because a needed functionality is not supported by the app.

omz

Unfortunately, xml parsing is kind of broken in the current version, mostly because pyexpat is missing and a lot of other modules rely on that. As I mentioned in this thread, this will be fixed with the next update.

For now, if your xml is relatively simple, you might actually be able to use the HTMLParser module instead, even if your xml isn't actually (x)html (the html parser is pretty tolerant).

Again, sorry for the inconvenience. I hope to get the next update out pretty soon.

crk5

Ok, so I will wait for the update.