Example Diagrammar XML

Below is example XML for a description of an image depicting the hydrologic cycle. The XML can easily be transformed to formatted HTML using the the XSL transform at: http://diagramcenter.org/development/content-model/48.html.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="../../../../src/schema/z3998-descriptions.rng" type="xml"?>
<document xmlns="http://www.daisy.org/ns/z3998/authoring/" xml:lang="en"
        <meta rel="z3998:profile" resource="http://www.daisy.org/z3998/2012/auth/profiles/description/0.1">
            <meta property="z3998:name" content="description"/>
            <meta property="z3998:version" content="0.1"/>
        <meta rel="z3998:rdfa-context" resource="http://www.daisy.org/z3998/2012/vocab/context/default/"/>
        <meta property="dc:identifier" content="com.googlecode.zednext.placeholder"/>
        <meta property="dc:publisher" content="DIAGRAM"/>
        <meta property="dc:date" content="2010-03-27T15:50:05Z"/>
        <d:description xml:id="watercycle-desc" xml:lang="en">
                <meta property="dc:identifier" content="watercycle" />
                <meta property="dc:language" content="en-US" />
                <meta property="diagram:purpose">Illustrates the processes involved in the hydrologic cycle, including evaporation,  precipitation and the movement of water into and on the earth's surface.</meta>
                <meta property="diagram:targetAge" content="9-12" />
                <meta property="diagram:targetGrade" content="4-7" />
                <meta property="diagram:descriptionQuality" content="7" />
                <meta property="dc:creator" xml:id="author01">John Doe</meta>
                <meta about="#author01" property="diagram:credentials">Ph.D. in Water Engineering</meta>
                <meta property="dc:rights" content="???" />
                <meta property="dc:accessRights">This resource is for use by academic institutions only.</meta>
                <meta rel="diagram:currentVersion" resource="http://example.com/science/k12/water/cycle/current"/>
                <meta rel="diagram:thisVersion" resource="http://example.com/science/k12/water/cycle/1.2/description.xml"/>
                <meta rel="diagram:previousVersion" resource="http://example.com/science/k12/water/cycle/1.1/description.xml"/>
                <meta rel="diagram:alternateVersion" xml:id="alternateVersion01" resource="http://example.com/physics/k12/water/cycle/current">
                    <meta property="dc:description">This diagram describes the details which comprise the hydrologic cycle.</meta>
                <meta rel="diagram:repository" resource="http://example.com/diagram/repository/">
                    <meta property="diagram:queryConcept" content="evaporation"/>
                    <meta property="diagram:queryConcept" content="precipitation"/>
                    <meta property="diagram:queryConcept" content="water purification"/>
                <d:summary xml:id="summary">
                    <p>Figure 1.1, The Hydrologic Cycle, shows the processes involved in the water cycle, including evaporation, formation of clouds, precipitation, condensation, infiltration and the paths taken by the water when it has been returned to the ground.</p>
                <d:longdesc xml:id="longdesc01">
                    <p>The diagram shows the processes of evaporation, condensation, evapotranspiration, water storage in ice and snow, and precipitation. A large body of water (an ocean),  sky, earth surface and cross section of the earth structure are shown to illustrate the processes. The diagram also shows what happens to the water which has returned to the earth as precipitation, including surface runoff, infiltration of the water into the ground surface, percolation, ground water flow, and the movement of water flowing into an ocean. The water table and ground water flow are also shown.</p>
                    <p>The parts of the diagram, from upper left, moving across the top to the right are: a mountain showing water storage as ice and snow, the sky, clouds and the sun; in the lower right and moving to the left across the bottom to the left are: the ocean…</p>
                <annotation ref="longdesc01" role="diagram:comment" by="teacher">
                    <p>In the winter if it is below the freezing point, precipitation may take the form of snow rather than rain.</p>
                <d:simplifiedLanguageDescription xml:id="simpledesc01">
                    <p>The image shows the water cycle: how it forms clouds and is returned to the earth as rain, and how it goes into and moves over the earth's surface.</p>
                <d:tactile xml:id="tactile01">
                    <d:about>SVG and VRML printable tactile images.</d:about>
                    <object src="http://example.com/tactiles/repository/water-cycle.svg" srctype="image/svg+xml"/>
                    <object src="http://example.com/tactiles/repository/water-cycle-3d.vrml"/>
                        <p>In the upper left corner of the tactile illustration, the mountain covered with ice and snow is represented by…</p>
                <d:simplifiedImage xml:id="alt-image">
                    <object src="http://example.com/…/evaporation-lv.svg" srctype="image/svg+xml"/>
                        <p>Moving front the top left corner of the image…</p>


Ideas that work.The DIAGRAM Center is a Benetech initiative supported by the U.S. Department of Education, Office of Special Education Programs (Cooperative Agreement #H327B100001). Opinions expressed herein are those of the authors and do not necessarily represent the position of the U.S. Department of Education.


  Copyright 2019 I Benetech

Log in with your credentials

Forgot your details?