My requirement is to read an XML file and to read the inner-text of some specific nodes. The XML files will be created manually by user and a few of the nodes may have XML node like value. for eg:
<Books>
<Book Name ="ABC">
<author>abc</author>
</Book>
<Book Name ="XYZ">
<author><xyz></author>
</Book>
</Book>
Though this will create an XML file with incorrect syntax, my code should be able to handle this and should read the XML file. Can anyone suggest how to do this?