[Opensim-dev] Save/Load XML and XML2 Formats
Michael Wright
michaelwri22 at yahoo.co.uk
Tue Jul 1 11:45:37 UTC 2008
Yeah really there isn't that much different between the xml and xml2 formats, when I added xml2, it wasn't actually meant so much as a replacement for the old format, just a alternative, but having two formats is confusing, that together with my bad choice of name for the functions, lead to the belief that it the old version shouldn't be used anymore.
The old version certainly has those extra features on the console command. So if we are going to tell people to use the xml2 functions, then we should copy support for those extra parameters across.
Stefan Andersson <stefan at tribalmedia.se> wrote: .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } Basically, the xml2 format is just a rearrangement of some nodes, to make loading/saving a bit easier.
We have been discussing a xml3 format in throes and fits, but never got anywhere.
One of the properties of xml3 would be (optionally) not to include id's at all.
Then such a load/save file would be truly portable.
In Tribal Server, we actually support loading content off the web into regions, and we have to re-set all the guids in all the objects on each fetch, because they are fetched as new objects into new contexts, and owner et c has to be re-set on all nodes.
That is what really should be the base scenario for loading/fetching, ie, no id data at all.
Best regards,
Stefan Andersson
Tribal Media AB
Join the 3d web revolution : http://tribalnet.se/
---------------------------------
> Date: Tue, 1 Jul 2008 11:44:27 +0100
> To: opensim-dev at lists.berlios.de
> From: ai.ai.austin at googlemail.com
> Subject: [Opensim-dev] Save/Load XML and XML2 Formats
>
> I note that the save-xml and load-xml commands are now deprecated
> with a note to say now if the original XML format is used for a good reason.
>
> Can someone explain what the diffeerence is and what trhe xml2 format
> adds/changes?
>
>
> The -newuid flag is vital to bring across saved content into a new or
> alternative setup... and the relocation of the position of the
> objects witryh the X Y and Z offset is useful. But I have found that
> I neeed to manually edit the saved XML to change the owner, last
> owner and creator UUIDs to be the UUID of an avatars in a new
> setup. is it possible to import saved object content in some way
> that fits to a new installation more easily? Maybe another optional
> flag to change all three UUIDs to the region owner UUID?
>
> Ai
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev
---------------------------------
Not happy with your email address?
Get the one you really want - millions of new email addresses available now at Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080701/71c34a95/attachment-0001.html>
More information about the Opensim-dev
mailing list