I am working with XML creation and I am getting an issue with header closing. The ideal way for XML formation should be:
<TTSInput>
<TTSActionID>
<Dataset>S12</Dataset>
</TTSActionID>
</TTSINPUT>
<UPDATEROAD>
<ID>7</ID>
<FEATURE>ROAD</FEATURE>
<SPEED>60</SPEED>
</UPDATEROAD>
<FINALIZE 1111/>
</TTSINPUT>
Blank spaces denote sections of Header, Body and Footer respectively. The Bold and underlined part has issues i.e, </TTSINPUT>. It shoud cget close at the end of the whole XML (after FINALIZE) while it gets closed in the starting when header is getting closed (denoted by crossed).
There is just a minute error with it. Can someone help me with that. Thanks (: