"XML for Perl developers, Part 3: Advanced manipulating and writing techniques" - Perl и XML::LibXSL для хранения XML данных в БД.