1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 get http://xml.fiforms.org/xs3p/ and generate docs
4 xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd
7 xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema"
9 targetNamespace=
"urn:devhelp"
10 elementFormDefault=
"qualified">
14 Devhelp2 files are use in the 'devhelp' documentation browser.
18 <xsd:simpleType name=
"keyword-type">
19 <xsd:restriction base=
"xsd:string">
20 <xsd:enumeration value=
"constant"/>
21 <xsd:enumeration value=
"enum"/>
22 <xsd:enumeration value=
"function"/>
23 <xsd:enumeration value=
"macro"/>
24 <xsd:enumeration value=
"property"/>
25 <xsd:enumeration value=
"signal"/>
26 <xsd:enumeration value=
"struct"/>
27 <xsd:enumeration value=
"typedef"/>
28 <xsd:enumeration value=
"union"/>
29 <xsd:enumeration value=
"variable"/>
38 <xsd:simpleType name=
"language-type">
39 <xsd:restriction base=
"xsd:string">
40 <xsd:enumeration value=
"c"/>
41 <xsd:enumeration value=
"c++"/>
42 <xsd:enumeration value=
"c#"/>
43 <xsd:enumeration value=
"java"/>
44 <xsd:enumeration value=
"javascript"/>
45 <xsd:enumeration value=
"perl"/>
46 <xsd:enumeration value=
"python"/>
47 <xsd:enumeration value=
"vala"/>
51 Known programing languages.
56 <xsd:attribute name=
"title" type=
"xsd:string">
59 Title of the reference manual.
63 <xsd:attribute name=
"link" type=
"xsd:string">
66 Entry point to the manual. Can be given as a relative path to the
67 location of the devhelp2 file..
71 <xsd:attribute name=
"author" type=
"xsd:string">
74 Author of the document. Multiple authors are separated by ','.
78 <xsd:attribute name=
"name" type=
"xsd:string">
81 Short name of the manual.
85 <xsd:attribute name=
"version" type=
"xsd:integer">
88 Version of the devhelp xml specification (
2).
92 <xsd:attribute name=
"language" type=
"language-type">
95 Programing language this manual refers to.
100 <xsd:attribute name=
"type" type=
"keyword-type">
107 <xsd:attribute name=
"since" type=
"xsd:string">
110 Version since that the keyword is part of the API.
114 <xsd:attribute name=
"deprecated" type=
"xsd:boolean">
117 Marks the keyword as deprecated.
123 <xsd:element name=
"sub">
126 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
128 <xsd:attribute ref=
"name" use=
"required"/>
129 <xsd:attribute ref=
"link" use=
"required"/>
133 Sub tags for the hierachy of the chapters and parts.
138 <xsd:element name=
"chapters">
141 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
146 The chapters tag encloses the structure of the reference manual. Each
147 sub unit is represented by a sub tag.
152 <xsd:element name=
"keyword">
154 <xsd:attribute ref=
"type" use=
"required"/>
155 <xsd:attribute ref=
"name" use=
"required"/>
156 <xsd:attribute ref=
"link" use=
"required"/>
157 <xsd:attribute ref=
"since"/>
158 <xsd:attribute ref=
"deprecated"/>
161 The keyword tag points to the documentation of a api symbol.
165 <xsd:element name=
"functions">
168 <xsd:element ref=
"keyword" minOccurs=
"0" maxOccurs=
"unbounded"/>
172 The functions tag encloses all api symbols of the reference manual. Each
173 sub unit is represented by a keyword tag.
177 <xsd:element name=
"book">
180 <xsd:element ref=
"chapters" minOccurs=
"1" maxOccurs=
"1"/>
181 <xsd:element ref=
"functions" minOccurs=
"1" maxOccurs=
"1"/>
183 <xsd:attribute ref=
"title" use=
"required"/>
184 <xsd:attribute ref=
"link" use=
"required"/>
185 <xsd:attribute ref=
"author" use=
"required"/>
186 <xsd:attribute ref=
"name" use=
"required"/>
187 <xsd:attribute ref=
"version" use=
"required"/>
188 <xsd:attribute ref=
"language" />
192 Toplevel element of a devhelp book. A devhelp book list the structure of
193 a developer manual together with development related metadata.