[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-zine
Subject: [Kde-zine] CVS: xml test.xsd,NONE,1.1
From: zine () thebox ! nebsllc ! com
Date: 2001-06-19 22:46:03
[Download RAW message or body]
Update of /home/zine/xml
In directory thebox:/tmp/cvs-serv23962
Added Files:
test.xsd
Log Message:
Added a very,very,very early state of the schema
--- NEW FILE: test.xsd ---
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns="http://zine.kde.org/xml"
targetNamespace="http://zine.kde.org/xml">
<!-- DEFINING SOME STANDARD TYPES -->
<xsd:element name="title" type="xsd:string" />
<xsd:element name="para">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:element name="initial" type="xsd:string" />
<xsd:element name="bold" type="xsd:string" />
<xsd:element name="emph" type="xsd:string" />
<xsd:element name="literal" type="xsd:string" />
<xsd:element name="app" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="hintbox">
<xsd:complexType>
<xsd:all>
<xsd:element ref="title" />
<xsd:element ref="para" />
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="article">
<!--ARTICLE START -->
<xsd:complexType>
<xsd:sequence>
<xsd:element name="head">
<!-- HEAD START -->
<xsd:complexType>
<xsd:sequence>
<xsd:element name="author" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type="xsd:string" />
<xsd:element name="email" type="xsd:string" />
<xsd:element name="sname" type="xsd:string" />
</xsd:sequence>
<xsd:attribute name="type" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="license">
<xsd:complexType>
<xsd:attribute name="type" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="date" type="xsd:string" />
<xsd:element ref="title" />
<!-- HEAD END -->
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="body">
<xsd:complexType>
<xsd:sequence>
<!-- BODY START -->
<xsd:element ref="para" />
<!-- BODY END -->
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="topic" type="xsd:string" />
<xsd:attribute name="lang" type="xsd:string" />
<!-- ARTICLE END -->
</xsd:element>
</xsd:schema>
_______________________________________________
kde-zine mailing list
kde-zine@master.kde.org
http://master.kde.org/mailman/listinfo/kde-zine
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic