All,For some reason when I persist my instance the XML data is inverted. If anyone can tell me why this is happening and how to correct it I would greatly appreciate it.
The model looks like:
<xforms:model id=”rootModel”>
<xforms:instance id=”my-instance”>
<books>
<book>
<title/>
<author/>
</book>
</books>
<houses>
<house>
<address/>
<sqfeet/>
</house>
</houses>
</my-instance-main>
</xforms:instance>
</xforms:model>
The data is persisted via:
<xforms:submission id="save-submission-xml" ref="xxforms:instance('my-instance')" resource="/exist/rest/db/orbeon/xforms-sr/addServers-instance.xml" method="put" replace="none">
</xforms:submission>
I don’t understand why the <houses> element is coming before the <books> element.
<my-instance-main>
<houses>
<house>
<address/>
<sqfeet/>
</house>
</houses>
<books>
<book>
<title/>
<author/>
</book>
</books>
</my-instance-main>
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws
Free forum by Nabble | Edit this page |