in reply to XML::LibXML out of memory

Can you show us the smallest possible input file that still has all the necessary elements to produce a few lines of output, and the expected output for that input file?