Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:


I'm looking for XML module recommendations. A brief check on CPAN shows there's no shortage but I'm having trouble deciding which one to use. XML isn't really my main interest and I don't particularly want to learn all of them. I'd like to be able to learn one module interface and be able to apply it in other languages as well. Simplicity doesn't matter too much as long as the knowledge is fairly language/module independent.

Based on the little I know of XML, I think a DOM module would be appropriate. I want to be able to access any part of the document at any given time. Resource use doesn't matter much and I won't be dealing with very large files (nothing over 10 megs).

Any suggestions? Sorry for the rather vague criteria, I'm not all that knowledgeable on the subject. Overviews of the different modules would be useful as well.