- Some examples of world XML are provided:
- world.xml contains a full world description
- object.xml contains a world object
- position.xml contains a position in world
- The world specification is modularised and provided in a number of schema files:
- world.xsd is the top level of the specification
- object.xsd specifies objects in world
- properties.xsd specifies object properties
- geometry.xsd specifies moch 3D shapes
- metric.xsd specifies measures
- The world specification is available as a DTD as well. Note that the DTD is derived automatically from the Schema, and not a normative document:
- world.dtd is a DTD with <world> as the top level element
- object.dtd is a DTD with <object> as the top level element
- There are some preliminary XSLT transformations that allows one to view a world or a world object as an SVG document. These files are modularised as well, in order to avoid code duplication. At present, there are transformations into pure SVG as well as into browser dependant HTML (Internet Explorer with Adobe's SVG browser plugin required). The top files are wrappers, and do nothing but include a configuration file and the actual top file, which has the same name preceded with _ (underscore). These files, in turn, include a number of specific processor files; one for each world object type. The XSLT files are linked below:
- world2svg.xslt is the top level wrapper for world to SVG transformations
- _world2svg.xslt is the top level file for world to SVG transformations
- world2html.xslt is the top level wrapper for world to SVG inlined in HTML transformations
- _world2svg.xslt is the top level file for world to SVG inlined in HTML transformations
- defaults.xslt is the configuration file. Verbosity and other things may be set here. The file also includes some generic transformations used by the other files.
- svg/street2svg.xslt transforms streets to SVG. It needs street-segment2svg.xslt to work.
- svg/street-segment2svg.xslt transforms street segments to SVG.
- svg/area2svg.xslt transforms areas to SVG.
- svg/building2svg.xslt transforms buildings to SVG.
- world_as_svg.xml shows world.xml as SVG in an XML/XSLT/SVG capable browser. If your browser can present SVG but cannot handle XSLT transformations, there is a static version (world.svg) of the resulting SVG file that you can download and view in an SVG browser.
- Automatically generated (Altova XMLSpy) schema documentation for world