| <html> |
| <head> |
| <title>XSD Tutorial</title> |
| <link href="book.css" rel="stylesheet" type="text/css"/> |
| <meta content="DocBook XSL Stylesheets V1.75.1" name="generator"/> |
| <link rel="home" href="index.html" title="Xpand Documentation"/> |
| <link rel="up" href="Tutorials.html" title="Part II. Tutorials"/> |
| <link rel="prev" href="uml2example_profiles.html" title="Profile Support"/> |
| <link rel="next" href="xsd_tutorial_overview.html" title="Overview"/> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">XSD Tutorial</h1> |
| <div class="chapter" title="XSD Tutorial"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h2 class="title"> |
| <a name="xsd_tutorial"/>XSD Tutorial</h2> |
| </div> |
| </div> |
| </div> |
| <div class="toc"> |
| <dl> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial.html#xsd_tutorial_setup">Setup</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_overview.html">Overview</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_create_project.html">Step 1: Create a Project</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_metamodel.html">Step 2: Define a Meta Model using XML Schema</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_model.html">Step 3: Create a Model using XML</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_template.html">Step 4: Create a Template using Xpand</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_create_workflow.html">Step 5: Create a Workflow</a> |
| </span> |
| </dt> |
| <dt> |
| <span class="section"> |
| <a href="xsd_tutorial_execute_workflow.html">Step 6: Execute Workflow aka Generate Code</a> |
| </span> |
| </dt> |
| </dl> |
| </div> |
| <p>This tutorial shows how XML and XML Schemas Definitions (XSD) can be |
| used to generate software. It illustrates how XML files are treated as |
| models, XSDs as meta models and how this integrates with Xpand. This |
| tutorial is an introduction, for in-depth details see <a class="xref" href="xsd_reference.html" title="XSD Adapter"> |
| <i>XSD Adapter</i> |
| </a>.</p> |
| <div class="section" title="Setup"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h2 class="title" style="clear: both"> |
| <a name="xsd_tutorial_setup"/>Setup</h2> |
| </div> |
| </div> |
| </div> |
| <p>XSD support for Xpand comes with Xpand 0.7.2 or later. Make sure the |
| following plugins are installed as well:</p> |
| <div class="itemizedlist"> |
| <ul class="itemizedlist" type="disc"> |
| <li class="listitem"> |
| <p>XSD - XML Schema Definition Runtime ( <a class="ulink" href="http://www.eclipse.org/xsd/" target="_new">http://www.eclipse.org/xsd/</a>, |
| available via Ganymede Update Site)</p> |
| </li> |
| <li class="listitem"> |
| <p>Web Tools Platform (WTP) (WTP is not required to use Xpand XSD |
| support, but helpful, as its provides a nice XML Schema editor and a |
| schema-aware XML editor. (<a class="ulink" href="http://www.eclipse.org/webtools/" target="_new">http://www.eclipse.org/webtools/</a> |
| , available via Ganymede Update Site)</p> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |