Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
cyberqat
Member
 
Join Date: Jan 2016
Posts: 33

Old October 25th, 2018, 10:42 AM
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.
cyberqat is offline   #1 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,088

Old October 25th, 2018, 11: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.

Realm Works - Community Links
Realm Work and Hero Lab Videos
Ream Works Facebook User Group
Realm Works - Community Content List
CC3+ Facebook User Group

D&D 5e Community Pack - Contributor
General Hero Lab Support & Community Resources
D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base
daplunk is offline   #2 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 1,718

Old October 25th, 2018, 12:09 PM
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.

Farling

Author of the CSV2RW tool (http://forums.wolflair.com/showthread.php?t=58156) and the RW Output tool (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #3 Reply With Quote
cyberqat
Member
 
Join Date: Jan 2016
Posts: 33

Old October 25th, 2018, 08:19 PM
Yeah thanks I was figuring Id reverse engineer if all else failed, but wanted to avoid duplicating work if possible.
cyberqat is offline   #4 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 1,718

Old October 25th, 2018, 11:43 PM
Quote:
Originally Posted by cyberqat View Post
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.

Farling

Author of the CSV2RW tool (http://forums.wolflair.com/showthread.php?t=58156) and the RW Output tool (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #5 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,313

Old October 26th, 2018, 01: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?

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is online now   #6 Reply With Quote
Merion
Senior Member
 
Join Date: Mar 2014
Location: Germany, so please bear with my English
Posts: 243

Old October 26th, 2018, 05:13 AM
Quote:
Originally Posted by kbs666 View Post
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?!
Merion is online now   #7 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,313

Old October 26th, 2018, 07:10 AM
I'll look into it during my lunch hour and see what's out there.

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is online now   #8 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,313

Old October 26th, 2018, 09: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.

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is online now   #9 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:19 AM.


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