[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-zine
Subject: [Kde-zine] CVS: xml different-test.xsd,NONE,1.1
From: zine () thebox ! nebsllc ! com
Date: 2001-06-23 21:14:26
[Download RAW message or body]
Update of /home/zine/xml
In directory thebox:/tmp/cvs-serv15694
Added Files:
different-test.xsd
Log Message:
Adding a different test case, not much going on with it yet, but I am learning.
--- NEW FILE: different-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">
<xsd:attributeGroup name="articleGroup">
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="topic" type="xsd:string" /
<xsd:attribute name="lang" type="xsd:string" /><!-- DEFINING SOME STANDARD TYPES -->
</xsd:attributeGroup>
<xsd:element name="title" type="xsd:string" />
<xsd:element name="para">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The main paragraph tag, which defines sections.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:annotation>
<xsd:documentation xml:lang="en">
Some of the more often used styling tags for text
</xsd:documentation>
</xsd:annotation>
<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:attributeGroup ref="articleGroup"/>
<!-- 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