Log in

View Full Version : XML Module help question



Vishera
February 25th, 2016, 23:48
I am trying to compile together my own "book" to use within my games. I am fairly good with comparing an existing XML document and creating my own but for my purposes its a bit daunting. I am looking to basically make a book of just custom classes etc but not sure of the format.

Looking at the 5e PHB I see it breaks down:
<PHB5e>
<classdata>
<class1name>
<name type="string">Class 1 Name</name>
<text type="formattedtext">
<p>Description Here</p>
<h>class features</h>

etc...

so what is the proper format for a class from start to finish? I can fill in the blanks but im unsure about how to make an alphabetical listing, and then they click "A" or "B" etc and it opens to list the custom classes under that letter. Then they click the class and it opens into a detailed window for that class.

Varsuuk
February 26th, 2016, 02:54
I'm thinking you want to head to the Par5e tool sticky and then go to Xorns first tutorial (keeping the PDF doc page on classes open) and follow along. I ran into an issue not spotting what I did wrong but after found it all went smooth.

I'm sure I and others here can help you out if you get stuck.

It's a real cool tool ;)

Vishera
February 26th, 2016, 16:12
I'm not trying to parse a book though, trying to write my own but I'll check it out.

damned
February 27th, 2016, 01:02
Par5e just takes properly formatted input and generates properly formatted output. Par5e doesnt scan and OCR for you. Par5e doesnt know where the content you are entering has come from. The 5e modules are all closed source. If you create a class module using Par5e you can either repeat the process if you enjoy it - or you will have the raw output so you can work through it and build more classes manually.

Vishera
February 27th, 2016, 23:54
I think Im going to take a par5ed copy of the PHB and remove the extra content and modify the existing classes etc.

damned
February 28th, 2016, 00:29
You are not allowed to distribute/share copyright material that has been Par5ed. You do have to Par5e your own copy...

Vishera
February 28th, 2016, 06:46
I wasn't planning on distributing it. I decided to follow xorn's tutorial and that seems to be working better. Kinda sucks you can't use a custom category but I'll make it work. Thanks all!