in reply to XML::LibXML- Escape Empty Tags

I have used XML::Simple module to do it, It can take Xml file name as input can will create data structure out of it. Just thought it can be useful to you