Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Dungeons & Dragons
D&D Older Editions
4e Character XML Schema
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="banana" data-source="post: 4303711" data-attributes="member: 69051"><p><strong>Four Ee</strong></p><p></p><p>When developing a file format, it's always useful to have a reference implementation, so I've converted a character editor I was working on to use this schema. Attached ("4e.zip") is a Mac OS X application which can open/edit/save character ".sheet" files (it also works on ".xml", but that might not be a good idea in the long term) with a GUI interface.</p><p></p><p>It's very alpha-quality - it doesn't do a lot of things yet (powers, feats, skills, equipment!) and needs other improvements, but it works.</p><p></p><p>Here are some points that came up about the XML format while working on it:</p><p></p><p>- Ability scores don't include racial bonuses, right?</p><p></p><p>- I think that the root <character> element should be including the schema definition:</p><p><character xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="4eCharacter.xsd"></p><p>Currently, my editor will load sheets that don't include it but won't be able to validate them against the schema for correctness.</p><p></p><p>- Should there be maxOccurs="1" on the description elements? Does XSD automatically infer that?</p><p></p><p>- Why is <wealth> separate to <equipment>? <valuable> could be in the <equipment> section along with <item>. Also, <valuable> is kind of a clunky name.</p><p></p><p>- I had to change some capitalisation in the schema, because a lot of elements were referenced in thisWay but then defined in ThisWay. I had to change AbilityScores, Power, ExtraInfo, and a bunch of others. I've attached my edited schema - the capitalisation is the only change over what's in ninjeff's latest zip.</p><p></p><p>Here are some screenshots of opening the KotS character xml files:</p><p><img src="http://forthehor.de/files/4e1.png" alt="" class="fr-fic fr-dii fr-draggable " data-size="" style="" /><img src="http://forthehor.de/files/4e2.png" alt="" class="fr-fic fr-dii fr-draggable " data-size="" style="" /><img src="http://forthehor.de/files/4e3.png" alt="" class="fr-fic fr-dii fr-draggable " data-size="" style="" /></p><p>The XML box at the bottom is mostly there to let me debug stuff, and it's actually generated from the model in memory rather than just being a copy of the file.</p><p></p><p>And here's a character created from scratch:</p><p><img src="http://forthehor.de/files/4e4.png" alt="" class="fr-fic fr-dii fr-draggable " data-size="" style="" /></p><p>I've attached that file as "Underpowered.sheet".</p><p></p><p>Finally, I've also attached the source code for reference purposes. I'm thinking about making it open source under the GP, but for the moment I want to get it into a more working state.</p></blockquote><p></p>
[QUOTE="banana, post: 4303711, member: 69051"] [b]Four Ee[/b] When developing a file format, it's always useful to have a reference implementation, so I've converted a character editor I was working on to use this schema. Attached ("4e.zip") is a Mac OS X application which can open/edit/save character ".sheet" files (it also works on ".xml", but that might not be a good idea in the long term) with a GUI interface. It's very alpha-quality - it doesn't do a lot of things yet (powers, feats, skills, equipment!) and needs other improvements, but it works. Here are some points that came up about the XML format while working on it: - Ability scores don't include racial bonuses, right? - I think that the root <character> element should be including the schema definition: <character xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="4eCharacter.xsd"> Currently, my editor will load sheets that don't include it but won't be able to validate them against the schema for correctness. - Should there be maxOccurs="1" on the description elements? Does XSD automatically infer that? - Why is <wealth> separate to <equipment>? <valuable> could be in the <equipment> section along with <item>. Also, <valuable> is kind of a clunky name. - I had to change some capitalisation in the schema, because a lot of elements were referenced in thisWay but then defined in ThisWay. I had to change AbilityScores, Power, ExtraInfo, and a bunch of others. I've attached my edited schema - the capitalisation is the only change over what's in ninjeff's latest zip. Here are some screenshots of opening the KotS character xml files: [img]http://forthehor.de/files/4e1.png[/img][img]http://forthehor.de/files/4e2.png[/img][img]http://forthehor.de/files/4e3.png[/img] The XML box at the bottom is mostly there to let me debug stuff, and it's actually generated from the model in memory rather than just being a copy of the file. And here's a character created from scratch: [img]http://forthehor.de/files/4e4.png[/img] I've attached that file as "Underpowered.sheet". Finally, I've also attached the source code for reference purposes. I'm thinking about making it open source under the GP, but for the moment I want to get it into a more working state. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Dungeons & Dragons
D&D Older Editions
4e Character XML Schema
Top