Importing a custom namespace / custom type into an XSD

  • September 5, 2010
  • James Skemp
I have a custom type that I use in a couple of my documents. Unfortunately, in the past I was adding this to each xsd, as I needed it. However, I've now figured out how to import it into xsd files as needed. Original schema Currently I'm adding the following at the top of each xsd: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="customDateType"> <xs:restriction base="xs:string"> <xs:annotation> <xs:documentation><![CDATA[Allows for a year, a year and a month, or a year, month, and day, to be defined.

Read More

Onimusha: Dawn of Dreams data

  • September 3, 2010
  • James Skemp
From the archives, I've created an XML Schema and XML data file for Onimusha: Dawn of Dreams, for the Playstation 2. Currently the data only includes armor leveling information, from level 1 to 100. The data comes from an OpenDocument Spreadsheet (OnimushaDawnofDreams.ods) from way back in May of 2006. My characters and core weapons being completely maxed (not to mention souls), I may decide to replay the game to track this information as well, or just upgrade weapons.

Read More

XML standards - personal suggestions

  • September 3, 2010
  • James Skemp
As I prepare to create another XML data file, I started looking at the standards I use to create XML files, and what the recommendations are. Elements In the past I've used camel case, but on a recent file used Pascal case instead. I think this was more becauase I've started to using Pascal case for public items (variables), and camel case for private items, as that's fairly standard in development.

Read More

XML Schema Definition creation: Journal - Part 2: XSD file with <oXygen/> XML Editor

  • December 23, 2009
  • James Skemp
In the first part of this series I had outlined a sample layout that I wanted to use for a series of XML files that I would be creating over the course of 2010. This time I'm going to create the actual XML Schema Definition file with <oXygen/> XML Editor, version 11.1. I've been using <oXygen/> since January 2008, and wouldn't trade it for any other XML editor. If you don't have <oXygen/> you can still follow along.

Read More

XML Schema Definition creation: Journal - Part 1: Primary layout

  • December 21, 2009
  • James Skemp
In a previous series, I went over the process of creating a new XML document to store my video games. (Although in that case I used a DTD.) This time I'm going to work on a schema to store quasi-journal entries, which I'm hoping will help with my goal to write every day. What I hope to accomplish Ultimately I want to store a bit of text for any particular day.

Read More