Inserting new line of code between existing XML code

  • Follow


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
0
Reply Jie 4/27/2010 10:30:22 AM


0 Replies
388 Views

(page loaded in 0.015 seconds)

Similiar Articles:













7/25/2012 5:23:09 PM


Reply: