>But for us our parser does not support self closing tag.
Then I would recommend you to ditch your parser and replace it with a real XML parser. There are plenty of good ones around.
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference