Importing custom xml for tags
I figure I'm trying to do something pretty straightforward:
Code:
<?xml version="1.0" encoding="utf-8"?> |
Are you basing this on a structure only export of new tags? I only did a structure only export once but that one exported the entire structure.
|
This comes from a facebook post, he is trying to import a load of new tags.
|
It looks like this isn't a viable route to take unfortunately.
All domain and tag elements need an original_uuid attribute, and these can only be allocated by Realm Works. Realm Works uses it's own pattern for the UUIDs rather than following the standard UUID pattern (which would have allowed import tools to specify their own UUID for each element) so only an export from Realm Works will generate valid UUIDs. Other than that... tag_global elements should appear inside domain_global elements. The children of a domain element should be a tag element. Both tag and tag_global require a tag_id attribute, which must be unique in the file but otherwise can be of the form "Tag_x" where x is a number. domain tags require a "domain_id" attribute, typicall of the format "Domain_x" where x is a number (the number can change from one import to another, since it is only used while loading the XML file). |
I'm almost there:
Code:
<?xml version="1.0" encoding="utf-8"?> |
Quote:
|
Quote:
Well, I exported the UUIDs from other rwstructure files into a table and did a join on them to get a list, after checking to make sure the UUIDs were unique (remove duplicates in Excel). I imagine the different realms didn't share IDs, otherwise, there'd be a tonne of collisions. I'm still getting the wrapper error, though. :< EDIT: Though now that I think about it, I might need to check to see if the UUID for the Realm I am importing it into doesn't have the same UUID. EDIT 2: Poop. They are the same. I guess I gotta wait for them to get back from GenCon. |
How many tags are you trying to import? The amount of time you've spent why not just use the built in UI?
|
Quote:
|
Quote:
|
All times are GMT -8. The time now is 10:49 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.