User-1853979378 posted
NOTE: Sorry about the formatting - I corrected it below.
I've seen several threads in the forum that were similar to this problem, but none where I was able to glean specifically what I'm trying to do.
I am attempting insert data into an XML document at a specific point.
Here is an example XML document
<?xml version="1.0" encoding="utf-8" ?>
<Month>
<Day id="6">
<Number id="1">
<Comment>Some text</Comment>
<Comment>Some text</Comment>
</Number>
</Day>
<Day id="15">
<Number id="1">
<Comment>Some text</Comment>
<Comment>Some text</Comment>
</Number>
<Number id="2">
<Comment>Some text</Comment>
</Number>
</Day>
<Day id="18">
<Number id="1">
<Comment>Some text</Comment>
</Number>
</Day>
</Month>
Now, suppose I want to insert another <Comment> in the <Day id=15><Number id=2> node. How do I do that?