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