Perl based XML parsing and publishing solution