Warning, don't use this module. It's very dangerous. This module is dead.
Try this :
use XML::Mini::Document ;
my $xmlDoc = XML::Mini::Document->new();
You will have something like :
Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at /usr/share/perl5/XML/Mini/Document.pm line 487.
Out of memory!
It's a great module, but, xml tree operations are very strange... walk on the tree is very difficult and undocumented, it creates lots of bad attributes... good luck if you want to move a part of the document elsewhere in the tree.... (ex root->node1->node2 => root->node2)
sorry, but i have to rewrite my application...