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=
"property"/>
30 <xsd:enumeration value=
"signal"/>
31 <xsd:enumeration value=
"struct"/>
32 <xsd:enumeration value=
"typedef"/>
33 <xsd:enumeration value=
"union"/>
34 <xsd:enumeration value=
"variable"/>
38 <xsd:simpleType name=
"language-type">
41 Known programing languages.
44 <xsd:restriction base=
"xsd:string">
45 <xsd:enumeration value=
"c"/>
46 <xsd:enumeration value=
"c++"/>
47 <xsd:enumeration value=
"c#"/>
48 <xsd:enumeration value=
"java"/>
49 <xsd:enumeration value=
"javascript"/>
50 <xsd:enumeration value=
"perl"/>
51 <xsd:enumeration value=
"python"/>
52 <xsd:enumeration value=
"vala"/>
57 <xsd:element name=
"sub">
60 Sub tags for the hierachy of the chapters and parts.
65 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
67 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required"/>
68 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required"/>
72 <xsd:element name=
"chapters">
75 The chapters tag encloses the structure of the reference manual. Each
76 sub unit is represented by a sub tag.
81 <xsd:element ref=
"sub" minOccurs=
"0" maxOccurs=
"unbounded"/>
86 <xsd:element name=
"keyword">
89 The keyword tag points to the documentation of a api symbol.
93 <xsd:attribute name=
"type" type=
"keyword-type" use=
"required">
100 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required">
107 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required">
110 Relative link for the keyword.
114 <xsd:attribute name=
"since" type=
"xsd:string">
117 Version since that the keyword is part of the API.
121 <xsd:attribute name=
"deprecated" type=
"xsd:string">
124 Marks the keyword as deprecated.
128 <xsd:attribute name=
"stability" type=
"xsd:string">
131 Document the stability status.
138 <xsd:element name=
"functions">
141 The functions tag encloses all api symbols of the reference manual. Each
142 sub unit is represented by a keyword tag.
147 <xsd:element ref=
"keyword" minOccurs=
"0" maxOccurs=
"unbounded"/>
152 <xsd:element name=
"book">
155 Toplevel element of a devhelp book. A devhelp book list the structure of
156 a developer manual together with development related metadata.
161 <xsd:element ref=
"chapters" minOccurs=
"1" maxOccurs=
"1"/>
162 <xsd:element ref=
"functions" minOccurs=
"1" maxOccurs=
"1"/>
164 <xsd:attribute name=
"title" type=
"xsd:string" use=
"required">
167 Title of the reference manual.
171 <xsd:attribute name=
"link" type=
"xsd:string" use=
"required">
174 Entry point to the manual. Can be given as a relative path to the
175 location of the devhelp2 file.
179 <xsd:attribute name=
"author" type=
"xsd:string" use=
"required">
182 Author of the document. Multiple authors are separated by ','.
186 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required">
189 Short name of the manual.
193 <xsd:attribute name=
"version" type=
"xsd:integer" use=
"required">
196 Version of the devhelp xml specification (
2).
200 <xsd:attribute name=
"language" type=
"language-type">
203 Programing language this manual refers to.