Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Realmworks Schemae (http://forums.wolflair.com/showthread.php?t=61471)

cyberqat October 25th, 2018 09:42 AM

Realmworks Schemae
 
or other import data format documentation?

I want to write a bunch of XSLT scripts to convert data from other programs.

This is, after-all, the true purpose of XML-- as a data interchange format.

daplunk October 25th, 2018 10:07 AM

This is very much an undocumented area.

Farling is likely the most experienced within the Community and might be able to help point you in the right direction. He's the author of the mighty CSV Import Tool.

Farling October 25th, 2018 11:09 AM

I created a realm with lots of different sorts of snippets and settings on various types of topics and then create an export file. It is the best way to see what elements are created and what attributes get set to what values.

cyberqat October 25th, 2018 07:19 PM

Yeah thanks I was figuring Id reverse engineer if all else failed, but wanted to avoid duplicating work if possible.

Farling October 25th, 2018 10:43 PM

Quote:

Originally Posted by cyberqat (Post 272065)
Yeah thanks I was figuring Id reverse engineer if all else failed, but wanted to avoid duplicating work if possible.

If you have a look at my github repository, I have an XSLT file somewhere that will convert an Obsidian Portal output into a RealmWorks import file.

It hasn't been worked on for a while, but it might give some pointers.

kbs666 October 26th, 2018 12:05 AM

Maybe we should try and create an XSD for the export file. That would let people base future XLST's on that rather than trying to do this over and over again from scratch? Or now that Rob is communicating again see if LWD has one internally they'll share?

Merion October 26th, 2018 04:13 AM

Quote:

Originally Posted by kbs666 (Post 272072)
Maybe we should try and create an XSD for the export file. That would let people base future XLST's on that rather than trying to do this over and over again from scratch? Or now that Rob is communicating again see if LWD has one internally they'll share?

Good Thinking. I'm by far no expert in this, but an XSD seems the way to go for these things. There surely are tools to generate XSD from XML?!

kbs666 October 26th, 2018 06:10 AM

I'll look into it during my lunch hour and see what's out there.

kbs666 October 26th, 2018 08:34 AM

I found several online tools. This one seemed decent and allows direct download of of the resulting XSD.
https://www.site24x7.com/tools/xml-to-xsd.html

If Farling could make available the export of his realm that exercises all the options for snippets and topics that could be fed into it and we could see what comes out.


All times are GMT -8. The time now is 09:16 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.