Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
berdman
Junior Member
 
Join Date: May 2011
Posts: 16

Old March 29th, 2012, 08:35 PM
I have searched through the forums and have not found a reference to this.

I am looking for an XML Schema, DTD or other documentation on the XML output that Hero Lab can produce. Something at a basic level that define the universe of Tags/attributes.

Primarily for Pathfinder, but M&M 3rd and Shadowrun would great as well.

Thank You
berdman is offline   #1 Reply With Quote
berdman
Junior Member
 
Join Date: May 2011
Posts: 16

Old April 1st, 2012, 07:07 PM
I found the link to the DTD in the User Manual, but it is missing. It is missing on both Mac and PC. I have searched the hero lab directory and cannot find it.
berdman is offline   #2 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old April 2nd, 2012, 07:12 AM
Yeah, I noted that myself and posted it as a bug, but haven't gotten a reply. I have a C# program that parses a given set of XML data and tries to create classes that would store the data. I started on something to generate XSDs, but got sidetracked into another project. Would an XSD exporter be useful to you?

Unfortunately, the default Microsoft one (XSD.exe) can't handle nesting of a keyword within itself, so it's pretty useless.
Duggan is offline   #3 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old April 2nd, 2012, 07:18 AM
I knew I'd seen something like this come up before. There's a thread over in the Authoring Kit section with a link to the DTD (message 4 in the thread).

http://forums.wolflair.com/showthread.php?t=9931
TCArknight is offline   #4 Reply With Quote
berdman
Junior Member
 
Join Date: May 2011
Posts: 16

Old April 2nd, 2012, 08:04 AM
I had looked at that before. What I am looking for is the DTD for the XML Portfolio Output, the xml file you get when you export the character.

I think that is the DTD for the actual data file for the game system.

If I am confused that would be great, as my search would be over.

Thanks for the help.
berdman is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 2nd, 2012, 10:45 AM
As a tip what I do is simply use the bottom most option on the Save Custom Output. As that option simply outputs the RAW XML. Maybe its just me but I find it easier to read RAW XML then DTD actually.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #6 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old April 2nd, 2012, 12:17 PM
If you look at the bottom of the Pathfinder manual, there's a link to the DTD in the "Custom Output DTD" section - I just tested it and it appears properly for me. You can do one of two things to open it:

1) If you have an application configured to handle .dtd files, you should be able to click to launch that application.

2) If not, you can right-click on it and choose "Copy Link Address", then paste the filename into the application you want to view it in - for example "file:///C:/ProgramData/Hero%20Lab/Data/pathfinder_dtd/customoutput.dtd". If you go to File -> Open in Windows Notepad and paste that, you'll open the document.

Hope this helps!
Colen is offline   #7 Reply With Quote
berdman
Junior Member
 
Join Date: May 2011
Posts: 16

Old April 2nd, 2012, 04:31 PM
Thanks.

Found it there.

Figured out the confusion.

The link under Help Hero Lab Manual has the wrong link.

The link under the game specific manual is correct. Chalk this one up to a lose nut on keyboard.
berdman is offline   #8 Reply With Quote
berdman
Junior Member
 
Join Date: May 2011
Posts: 16

Old April 2nd, 2012, 04:33 PM
Quote:
Originally Posted by ShadowChemosh View Post
As a tip what I do is simply use the bottom most option on the Save Custom Output. As that option simply outputs the RAW XML. Maybe its just me but I find it easier to read RAW XML then DTD actually.
I agree reading the XML is easier then reading the DTD, but the DTD makes automated parsing much easier, and also points me to all the information, so I know what can be output for a character.
berdman is offline   #9 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old April 3rd, 2012, 09:07 PM
Quote:
Originally Posted by berdman View Post
Thanks.

Found it there.

Figured out the confusion.

The link under Help Hero Lab Manual has the wrong link.

The link under the game specific manual is correct. Chalk this one up to a lose nut on keyboard.
Ah, thanks for the note about this. I'll get the broken link fixed.
Colen is offline   #10 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:44 PM.


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