Let's say I have an XML document that looks like this:
<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>replace_with_title</h:title>
<model>
<itext>
</itext>
<instance>
<an_instance_name xmlns="">
<one/>
<three/>
<four/>
</an_instance_name>
</instance>
</model>
</h:head>
<h:body>
</h:body>
</h:html>
Is it possible to insert the element <two/> after <one/> and have it
appear in that order when the XML document is output as a string?
Forgive me if the answer is obvious - I didn't see anything like this in
the manual but I wanted to make sure I wasn't missing anything.
Thanks in advance,
Matt