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"
8 targetNamespace=
"http://www.devhelp.net/book"
9 xmlns=
"http://www.devhelp.net/book"
10 elementFormDefault=
"qualified">
14 Devhelp2 files are use in the 'devhelp' documentation browser.
18 <xsd:simpleType name=
"keyword-type">
24 <xsd:restriction base=
"xsd:string">
25 <xsd:enumeration value=
"constant"/>
26 <xsd:enumeration value=
"enum"/>
27 <xsd:enumeration value=
"function"/>
28 <xsd:enumeration value=
"macro"/>
29 <xsd:enumeration value=
"member"/>
30 <xsd:enumeration value=
"property"/>
31 <xsd:enumeration value=
"signal"/>
32 <xsd:enumeration value=
"struct"/>
33 <xsd:enumeration value=
"typedef"/>
34 <xsd:enumeration value=
"union"/>
35 <xsd:enumeration value=
"variable"/>
39 <xsd:simpleType name=
"language-type">
42 Known programing languages.
45 <xsd:restriction base=
"xsd:string">
46 <xsd:enumeration value=
"c"/>
47 <xsd:enumeration value=
"c++"/>
48 <xsd:enumeration value=
"c#"/>
49 <xsd:enumeration value=
"java"/>
50 <xsd:enumeration value=
"javascript"/>
51 <xsd:enumeration value=
"perl"/>
52 <xsd:enumeration value=
"python"/>
53 <xsd:enumeration value=
"vala"/>
58 <xsd:element name=
"sub">
61 Sub tags for the hierachy of the chapters and parts.
66 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
68 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required"/>
69 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required"/>
73 <xsd:element name=
"chapters">
76 The chapters tag encloses the structure of the reference manual. Each
77 sub unit is represented by a sub tag.
82 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
87 <xsd:element name=
"keyword">
90 The keyword tag points to the documentation of a api symbol.
94 <xsd:attribute name=
"type" type=
"keyword-type" use=
"required">
101 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required">
108 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required">
111 Relative link for the keyword.
115 <xsd:attribute name=
"since" type=
"xsd:string">
118 Version since that the keyword is part of the API.
122 <xsd:attribute name=
"deprecated" type=
"xsd:string">
125 Marks the keyword as deprecated.
129 <xsd:attribute name=
"stability" type=
"xsd:string">
132 Document the stability status.
139 <xsd:element name=
"functions">
142 The functions tag encloses all api symbols of the reference manual. Each
143 sub unit is represented by a keyword tag.
148 <xsd:element ref=
"keyword" minOccurs=
"0" maxOccurs=
"unbounded"/>
153 <xsd:element name=
"book">
156 Toplevel element of a devhelp book. A devhelp book list the structure of
157 a developer manual together with development related metadata.
162 <xsd:element ref=
"chapters" minOccurs=
"1" maxOccurs=
"1"/>
163 <xsd:element ref=
"functions" minOccurs=
"1" maxOccurs=
"1"/>
165 <xsd:attribute name=
"title" type=
"xsd:string" use=
"required">
168 Title of the reference manual.
172 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required">
175 Entry point to the manual. Can be given as a relative path to the
176 location of the devhelp2 file.
180 <xsd:attribute name=
"author" type=
"xsd:string" use=
"required">
183 Author of the document. Multiple authors are separated by ','.
187 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required">
190 Short name of the manual.
194 <xsd:attribute name=
"version" type=
"xsd:integer" use=
"required">
197 Version of the devhelp xml specification (
2).
201 <xsd:attribute name=
"language" type=
"language-type">
204 Programing language this manual refers to.
208 <xsd:attribute name=
"online" type=
"xsd:string">
211 URL for the online version of the docs.