Harp XML
HarpXML is attempting to define an XML format for
ICE
HARP
for storing game data, character data, character sheets, etc... You'll find
about 50 schemas (XSD), java classes to manipulate XML files, and an application
based on these schemas, able to convert a character file (XML) into a nice character
sheet (PDF or HTML). My goal is to provide a global format, that every application can
use to store, import, export or use data. A lots of usefull tools can be found
on the web. Unfortunatly, each of them is using its own format, data and algorithms.
HarpXML gives the opportunity to gather them and make them compatible, as soon as
they are using the defined format (or provide export/import functions).
Schemas
HarpXML provides about 50 schemas to store game data (skills, professions, races,...),
character data (profile, skills, spells, equipment,...) and character sheet (character
details, bonus, resistances,...).
XML to PDF
HarpXML (the application) parses an character input file and loads game data, then
computes bonus, resistances, specs and finally generate a character sheet (PDF).
The application is completely based on XML files and is therefore completely
customizable, without having to change anything in the source code. Read the following
small FAQ to learn some of the features of HarpXML.
- I want to create a new race!
- Open "races.xml", copy and paste a race and change the values.
- I don't agree with the original stats specified for a skill!
- Open "skills.xml" and change the values as desired.
- I created a tool for managing characters but don't have any print module!
- Implement a function to export the character data to a XML file matching the HarpXML format. You can then use the application to produce a nice PDF character sheet.
- I would like to remove/change a field on the final sheet (PDF)!
- Open the "xml2pdf.xsl" template and change it as desired. Don't forget to send it to me if your template is better ;-)
Example
Take a look at the following example of transformation, based on a real character (used in my
rpg campaign).
|
|
|