From: Jie on
Hi

I've read in this xml file into MATLAB using xmlread. There are two lines in the file that look like this:

<Task key="Task_13" name="Time-Course" type="timeCourse" scheduled="false" updateModel="false">
<Problem>

I want to insert a line of the form:
<Report reference="Report_16" target="Mass vs Time.txt" append="0"/>
between the <Task key="Task_13" name="Time-Course" type="timeCourse" scheduled="false" updateModel="false"> line and the <Problem> line.

What command in matlab should I use to achieve this?

Regards,

Jenny