I have no problems adding the 'header' element to root element 'message' but can't seem to work out how to add the 'vendor', 'version' & 'date' elements to the header node.
Your help would be greatly appreciated.
Regards,
Gerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please ignore that request, I was being an idiot. Realised I was deleting the 'header' element before trying to append the other elements to it. Was therefore getting pointer errors.
Gerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Aaron,
Need you help.
Need to create a message in the format:
<message id="1" type="1">
<header>
<vendor>1234567890</vendorid>
<version>1.0</version>
<date>2003-07-10</date>
</header>
</message>
I have no problems adding the 'header' element to root element 'message' but can't seem to work out how to add the 'vendor', 'version' & 'date' elements to the header node.
Your help would be greatly appreciated.
Regards,
Gerry
Aaron,
Please ignore that request, I was being an idiot. Realised I was deleting the 'header' element before trying to append the other elements to it. Was therefore getting pointer errors.
Gerry
D'oh! I hate it when that happens.
Hope everything is going well with your parsing otherwise.
Aaron Bartell
Project Lead