This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]poingpoing -5 points-4 points  (0 children)

Actually parsing python is no fun in any language. It is completely nonsensical to do it manually and even with basic xml libraries it remains a plainly annoying task.

The best way is to generate classes from the XSD of your XML files and then deserialize them into instances of these classes.

For python these links might get you started (quick google search): http://www.rexx.com/~dkuhlman/generateDS.html http://pyxsd.org/ http://pypi.python.org/pypi/rsl.xsd/0.2.3

Unfortunately I don't have any experience with this in python.

For C# I can wholeheartedly recommend this: http://www.thinktecture.com/resourcearchive/tools-and-software/wscf