I've currently got the following xml but have trouble processing as date and time contained within a single element.
<data>
<StartDateTime>2019-10-19T12:00:00Z</StartDateTime>
</data>
but want it output as:
<data>
<date>2019-10-19</date>
<time>12:00:00Z</time>
</data>
Is it possible using sed to alter this?