If platform independence is a priority, it might be an idea to stick to using PPM-enabled modules so Windoze users have an easier time installing them.
I haven't used them myself, but these include XML-Element and XML-Parser.
I don't believe there are any XML modules included in the standard distribution package, unfortunately.
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." -- (Author Unknown)