blob: bde45d16a42ef3b92cea3da587e43618c364b512 [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--Arbortext, Inc., 1988-2005, v.4002-->
3<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
4<task id="tcxmlsch" xml:lang="en-us">
5<title>Creating XML schemas</title>
6<titlealts>
7<searchtitle>Creating XML schemas</searchtitle>
8</titlealts>
9<shortdesc>You can create an XML schema and then edit it using the XML schema
10editor. Using the XML schema editor, you can specify element names that indicates
11which elements are allowed in an XML file, and in which combinations.</shortdesc>
12<prolog><metadata>
13<keywords><indexterm>XML schema files<indexterm>creating</indexterm></indexterm>
14</keywords>
15</metadata></prolog>
16<taskbody>
17<context>To create an XML schema, follow these steps:</context>
18<steps>
19<step><cmd>Create a project to contain the XML schema.</cmd></step>
20<step><cmd>In the workbench, select <menucascade><uicontrol>File > New >
21Other > XML > XML Schema</uicontrol></menucascade> and click <uicontrol>Next</uicontrol>.</cmd>
22</step>
23<step><cmd>Select the project or folder that will contain the XML schema.
24In the </cmd><info><uicontrol>File name</uicontrol> field, type the name of
25the XML schema, for example <userinput>MyXMLSchema.xsd</userinput>. The name
26of your XML schema must end in <systemoutput>.xsd</systemoutput>.</info></step>
27<step><cmd>Click <uicontrol>Finish</uicontrol>.</cmd></step>
28</steps>
29<result>The XML schema opens in the XML schema editor. </result>
30</taskbody>
31</task>