いや、Perl でも Python でもいいけどさ。
http://www.ibm.com/jp/developerworks/xml/020517/j_x-tiplwt.html