[Xerte] Re: Converting an object to xml
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Wed Mar 7 11:03:44 GMT 2012
Good question. No, not currently. Have a look for a prototype extension and I can build it in if it does what you want: it would probably not create attributes, rather full nodes for each value, and it would have to make some assumptions when naming things I think:
<object>
<property>value</property>
<array>
<item>value</item>
....
</array>
...
</object>
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 07 March 2012 10:40
To: Xerte discussion list
Subject: [Xerte] Converting an object to xml
Xerte has the myXML.toObject() method that will construct an object from xml data.
Is there an easy way to go in the other direction and convert an object into XML data?
Kind regards
Johnathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120307/d92dfbb1/attachment.html>
More information about the Xerte
mailing list