<?xml version="1.0"?> <ROOT> <Agenda ServiceOrderNo="2" SAWB="SO000001_10000" Date="2016-11-23" StartTime="15:30:00" StopTime="16:30:00" Resource="xx"/> </ROOT>
<?xml version="1.0"?> <ROOT> <Agenda ServiceOrderNo="2" SAWB="SO000001_10000" Date="2016-11-23" StartTime="15:30:00" StopTime="16:30:00" Resource="xx"></Agenda> </ROOT>
Answers
Well whether your document is like this
<ROOT>
<Agenda></Agenda>
</ROOT>
or like this
<ROOT>
<Agenda />
</ROOT>
it is the same thing.
Every XML parser will (should) recognise this as the same thing.
If it does not then they do not follow XML standard.
For that reason there is nothing to do here.
Anyhow if you want to have the structure
<ROOT>
<Agenda></Agenda>
</ROOT>
you can add a blank element filed in the "agenda" tag that should create this structure
I hope this helps.
Thanks.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!