Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion
Register FAQ Community Today's Posts Search

Notices

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

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

Old 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.

Realm Works - Community Links
Realm Work and Hero Lab Videos
Ream Works Facebook User Group
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

Obsidian
Obsidian TTRPG Tutorials
daplunk is offline   #2 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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.

Farling

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #3 Reply With Quote
cyberqat
Member
 
Join Date: Jan 2016
Posts: 36

Old 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.
cyberqat is offline   #4 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old October 25th, 2018, 10: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 Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #5 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old 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?

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

Old October 26th, 2018, 04: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 offline   #7 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old October 26th, 2018, 06: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 offline   #8 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old 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.

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


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 11:35 AM.


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