in reply to Native XML Repository + Perl

In the No Fear: decoupling your application from the database thread there was the XML::Comma application framework mentioned. It uses flat files for XML storage and indexes in database for searching - so it might be applicable here.