1 <?xml version="1.0" encoding="UTF-8"?>
3 Author: John Luke <john.luke@gmail.com>
4 This is a (not very strict) schema for the monodoc
7 make base type for summary, remarks, returns, etc
8 alias duplicate attributes
9 make stricter in order and occurance
10 add masterdoc support?
12 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
14 <!-- define attributes -->
15 <xs:attribute name="argnames" type="xs:string" />
16 <xs:attribute name="cref" type="xs:string" />
17 <xs:attribute name="Deprecated" type="xs:boolean" />
18 <xs:attribute name="FullName" type="xs:string" />
19 <xs:attribute name="FullNameSP" type="xs:string" />
20 <xs:attribute name="inherited" type="xs:string" />
21 <xs:attribute name="language" type="xs:string" />
22 <xs:attribute name="Language" type="xs:string" />
23 <xs:attribute name="lang" type="xs:string" />
24 <xs:attribute name="langword" type="xs:string" />
25 <xs:attribute name="Library" type="xs:string" />
26 <xs:attribute name="location" type="xs:string" />
27 <xs:attribute name="Maintainer" type="xs:string" />
28 <xs:attribute name="MemberName" type="xs:string" />
29 <xs:attribute name="name" type="xs:string" />
30 <xs:attribute name="Name" type="xs:string" />
31 <xs:attribute name="namespace" type="xs:string" />
32 <xs:attribute name="propertytype" type="xs:string" />
33 <xs:attribute name="qualify" type="xs:boolean" />
34 <xs:attribute name="RefType" type="xs:string" />
35 <xs:attribute name="returntype" type="xs:string" />
36 <xs:attribute name="source" type="xs:string" />
37 <xs:attribute name="src" type="xs:string" />
38 <xs:attribute name="subset" type="xs:string" />
39 <xs:attribute name="Value" type="xs:string" />
40 <xs:attribute name="version" type="xs:string" />
41 <xs:attribute name="type" type="xs:string" />
42 <xs:attribute name="Type" type="xs:string" />
43 <xs:attribute name="TypeParamName" type="xs:string" />
45 <!-- define simple elements -->
46 <xs:element name="AssemblyName" type="xs:string" />
47 <xs:element name="AssemblyPublicKey" type="xs:string" />
48 <xs:element name="AssemblyVersion" type="xs:string" />
49 <xs:element name="AssemblyCulture" type="xs:string" />
50 <xs:element name="AttributeName" type="xs:string" />
51 <xs:element name="BaseTypeName" type="xs:string" />
52 <xs:element name="Excluded" type="xs:string" />
53 <xs:element name="ExcludedBaseTypeName" type="xs:string" />
54 <xs:element name="ExcludedLibrary" type="xs:string" />
55 <xs:element name="ExcludedLibraryName" type="xs:string" />
56 <xs:element name="ExcludedTypeName" type="xs:string" />
57 <xs:element name="i" type="xs:string" />
58 <xs:element name="InterfaceName" type="xs:string" />
59 <xs:element name="li" type="xs:string" />
60 <xs:element name="MemberOfLibrary" type="xs:string" />
61 <xs:element name="MemberType" type="xs:string" />
62 <xs:element name="MemberValue" type="xs:string" />
63 <xs:element name="onequarter" />
64 <xs:element name="PRE" />
65 <xs:element name="permille" />
66 <xs:element name="pi" />
67 <xs:element name="pre" />
68 <xs:element name="ReturnType" type="xs:string" />
69 <xs:element name="TypeExcluded" type="xs:string" />
71 <!-- define complex elements -->
72 <xs:element name="altcompliant">
74 <xs:attribute ref="cref" />
78 <xs:element name="altmember">
81 <xs:extension base="xs:string">
82 <xs:attribute ref="cref" />
88 <xs:element name="AssemblyInfo">
91 <xs:element ref="AssemblyName" minOccurs="0" />
92 <xs:element ref="AssemblyPublicKey" minOccurs="0" />
93 <xs:element ref="AssemblyVersion" minOccurs="0" maxOccurs="unbounded" />
94 <xs:element ref="AssemblyCulture" minOccurs="0" />
95 <xs:element ref="Attributes" minOccurs="0" />
100 <xs:element name="Attribute">
103 <xs:element ref="AttributeName" />
104 <xs:element ref="Excluded" minOccurs="0" />
105 <xs:element ref="ExcludedTypeName" minOccurs="0" />
106 <xs:element ref="ExcludedLibraryName" minOccurs="0" />
111 <xs:element name="Attributes">
114 <xs:element ref="Attribute" minOccurs="0" maxOccurs="unbounded" />
119 <xs:element name="Base">
122 <xs:element ref="BaseTypeName" minOccurs="0" />
123 <xs:element ref="BaseTypeArguments" minOccurs="0" />
124 <xs:element ref="ExcludedBaseTypeName" minOccurs="0" />
125 <xs:element ref="ExcludedLibraryName" minOccurs="0" />
130 <xs:element name="BaseTypeArgument">
131 <xs:complexType mixed="true">
132 <xs:attribute ref="TypeParamName" />
136 <xs:element name="BaseTypeArguments">
139 <xs:element ref="BaseTypeArgument" minOccurs="0" />
144 <xs:element name="block">
145 <xs:complexType mixed="true">
146 <xs:choice minOccurs="0" maxOccurs="unbounded">
147 <xs:element ref="block" />
148 <xs:element ref="c" />
149 <xs:element ref="code" />
150 <xs:element ref="format" />
151 <xs:element ref="list" />
152 <xs:element ref="para" />
153 <xs:element ref="paramref" />
154 <xs:element ref="see" />
155 <xs:element ref="subscript" />
156 <xs:element ref="sup" />
157 <xs:element ref="pi" />
158 <xs:element ref="typeparamref" />
160 <xs:attribute ref="subset" />
161 <xs:attribute ref="type" />
165 <xs:element name="c">
166 <xs:complexType mixed="true">
167 <xs:choice minOccurs="0" maxOccurs="unbounded">
168 <xs:element ref="code" />
169 <xs:element ref="para" />
170 <xs:element ref="paramref" />
171 <xs:element ref="see" />
172 <xs:element ref="typeparamref" />
177 <xs:element name="class">
179 <xs:choice minOccurs="0" maxOccurs="unbounded">
180 <xs:element ref="constructor" />
181 <xs:element ref="property" />
182 <xs:element ref="method" />
183 <xs:element ref="field" />
184 <xs:element ref="operator" />
185 <xs:element ref="event" />
186 <xs:element ref="enum" />
187 <xs:element ref="class" />
188 <xs:element ref="struct" />
189 <xs:element ref="interface" />
190 <xs:element ref="delegate" />
192 <xs:attribute ref="name" />
193 <xs:attribute ref="namespace" />
197 <xs:element name="code">
200 <xs:extension base="xs:string">
201 <xs:attribute ref="lang" />
202 <xs:attribute ref="language" />
203 <xs:attribute ref="source" />
204 <xs:attribute ref="src" />
210 <xs:element name="constructor">
212 <xs:attribute ref="name" />
213 <xs:attribute ref="argnames" />
217 <xs:element name="delegate">
219 <xs:choice maxOccurs="unbounded">
220 <xs:element ref="constructor" />
221 <xs:element ref="method" />
222 <xs:element ref="property" />
223 <xs:element ref="operator" />
225 <xs:attribute ref="name" />
226 <xs:attribute ref="namespace" />
230 <xs:element name="description">
231 <xs:complexType mixed="true">
232 <xs:choice minOccurs="0" maxOccurs="unbounded">
233 <xs:element ref="c" />
234 <xs:element ref="block" />
235 <xs:element ref="geq" />
236 <xs:element ref="leq" />
237 <xs:element ref="paramref" />
238 <xs:element ref="para" />
239 <xs:element ref="permille" />
240 <xs:element ref="plusminus" />
241 <xs:element ref="SPAN" />
242 <xs:element ref="see" />
243 <xs:element ref="sub" />
244 <xs:element ref="typeparamref" />
249 <xs:element name="Docs">
251 <xs:choice minOccurs="0" maxOccurs="unbounded">
252 <xs:element ref="summary" />
253 <xs:element ref="param" />
254 <xs:element ref="exception" />
255 <xs:element ref="returns" />
256 <xs:element ref="remarks" />
257 <xs:element ref="example" />
258 <xs:element ref="value" />
259 <xs:element ref="permission" />
260 <xs:element ref="PermissionSet" />
261 <xs:element ref="altmember" />
262 <xs:element ref="altcompliant" />
263 <xs:element ref="since" />
264 <xs:element ref="threadsafe" />
265 <xs:element ref="typeparam" />
266 <xs:element ref="filterpriority" />
267 <xs:element ref="related" />
272 <xs:simpleType name="relatedType">
273 <xs:restriction base="xs:string">
274 <!-- External code/application samples -->
275 <xs:enumeration value="sample"/>
276 <!-- e.g. ECMA, OPC, OData, ... specs -->
277 <xs:enumeration value="specification"/>
278 <!-- e.g. Apple/Android documentation -->
279 <xs:enumeration value="externalDocumentation" />
280 <!-- e.g. a more in-depth article at docs.xamarin.com -->
281 <xs:enumeration value="article" />
282 <!-- e.g. a small article describing succintly a feature -->
283 <xs:enumeration value="recipe" />
287 <xs:element name="related">
289 <xs:attribute name="type" type="relatedType" />
290 <xs:attribute name="href" type="xs:anyURI" />
294 <xs:element name="enum">
296 <xs:choice minOccurs="0" maxOccurs="unbounded">
297 <xs:element ref="field" />
298 <xs:element ref="method" />
300 <xs:attribute ref="name" />
301 <xs:attribute ref="namespace" />
305 <xs:element name="event">
307 <xs:attribute ref="name" />
308 <xs:attribute ref="inherited" />
312 <xs:element name="example">
313 <xs:complexType mixed="true">
314 <xs:choice maxOccurs="unbounded">
315 <xs:element ref="format" />
316 <xs:element ref="para" />
317 <xs:element ref="code" />
318 <xs:element ref="codelink" />
319 <xs:element ref="c" />
320 <xs:element ref="list" />
321 <xs:element ref="see" />
326 <xs:element name="exception">
327 <xs:complexType mixed="true">
328 <xs:choice minOccurs="0" maxOccurs="unbounded">
329 <xs:element ref="block" />
330 <xs:element ref="format" />
331 <xs:element ref="para" />
332 <xs:element ref="paramref" />
333 <xs:element ref="see" />
334 <xs:element ref="SPAN" />
335 <xs:element ref="typeparamref" />
337 <xs:attribute ref="cref" />
341 <xs:element name="field">
343 <xs:attribute ref="name" />
344 <xs:attribute ref="inherited" />
348 <xs:element name="format">
351 <xs:any minOccurs="0" processContents="lax" />
353 <xs:attribute ref="type" />
357 <xs:element name="interface">
359 <xs:choice minOccurs="0" maxOccurs="unbounded">
360 <xs:element ref="constructor" />
361 <xs:element ref="property" />
362 <xs:element ref="method" />
363 <xs:element ref="field" />
364 <xs:element ref="event" />
366 <xs:attribute ref="name" />
367 <xs:attribute ref="namespace" />
371 <xs:element name="Interface">
374 <xs:element ref="InterfaceName" />
375 <xs:element ref="Excluded" minOccurs="0" />
380 <xs:element name="Interfaces">
383 <xs:element ref="Interface" minOccurs="0" maxOccurs="unbounded" />
388 <xs:element name="item">
391 <xs:element ref="term" minOccurs="1" maxOccurs="1" />
392 <xs:element ref="description" minOccurs="0" maxOccurs="unbounded" />
397 <xs:element name="link">
400 <xs:extension base="xs:string">
401 <xs:attribute ref="location" />
407 <xs:element name="list">
410 <xs:element ref="listheader" minOccurs="0" maxOccurs="1" />
411 <xs:element ref="item" minOccurs="0" maxOccurs="unbounded" />
413 <xs:attribute name="type" type="xs:string" />
417 <xs:element name="listheader">
420 <xs:element ref="term" />
421 <xs:element ref="description" maxOccurs="unbounded" />
426 <xs:element name="masterdoc">
428 <xs:choice minOccurs="0" maxOccurs="unbounded">
429 <xs:element ref="class" />
430 <xs:element ref="delegate" />
431 <xs:element ref="interface" />
432 <xs:element ref="struct" />
433 <xs:element ref="enum" />
435 <xs:attribute name="assembly" type="xs:string" />
439 <xs:element name="MemberSignature">
441 <xs:attribute ref="Language" />
442 <xs:attribute ref="Value" />
446 <xs:element name="Link">
448 <xs:attribute ref="Type" use="required" />
449 <xs:attribute name="Member" type="xs:string" use="required" />
453 <xs:element name="Member">
456 <xs:element ref="MemberSignature" minOccurs="1" maxOccurs="unbounded" />
457 <xs:element ref="MemberType" maxOccurs="1" />
458 <xs:element ref="AssemblyInfo" minOccurs="0" maxOccurs="1" />
459 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
460 <xs:element ref="ReturnValue" minOccurs="0" maxOccurs="1" />
461 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
462 <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" />
463 <xs:element ref="MemberValue" minOccurs="0" maxOccurs="1" />
464 <xs:element ref="Docs" maxOccurs="1" />
465 <xs:element ref="Excluded" minOccurs="0" maxOccurs="1" />
466 <xs:element ref="ExcludedLibrary" minOccurs="0" maxOccurs="unbounded" />
467 <xs:element ref="Link" minOccurs="0" maxOccurs="1" />
469 <xs:attribute ref="MemberName" />
470 <xs:attribute ref="Deprecated" />
474 <xs:element name="Members">
477 <xs:element ref="Member" minOccurs="0" maxOccurs="unbounded" />
482 <xs:element name="method">
484 <xs:attribute ref="name" />
485 <xs:attribute ref="argnames" />
486 <xs:attribute ref="inherited" />
487 <xs:attribute ref="returntype" />
491 <xs:element name="Namespace">
494 <xs:element ref="Docs" maxOccurs="1" />
496 <xs:attribute ref="Name" />
497 <xs:attribute ref="FullName" />
498 <xs:attribute ref="FullNameSP" />
499 <xs:attribute ref="Maintainer" />
503 <xs:element name="operator">
505 <xs:attribute ref="name" />
506 <xs:attribute ref="argnames" />
510 <xs:element name="para">
511 <xs:complexType mixed="true">
512 <xs:choice minOccurs="0" maxOccurs="unbounded">
513 <xs:element ref="block" />
514 <xs:element ref="i" />
515 <xs:element ref="format" />
516 <xs:element ref="see" />
517 <xs:element ref="geq" />
518 <xs:element ref="leq" />
519 <xs:element ref="list" />
520 <xs:element ref="link" />
521 <xs:element ref="ul" />
522 <xs:element ref="paramref" />
523 <xs:element ref="c" />
524 <xs:element ref="onequarter" />
525 <xs:element ref="sub" />
526 <xs:element ref="superscript" />
527 <xs:element ref="sup" />
528 <xs:element ref="permille" />
529 <xs:element ref="plusminus" />
530 <xs:element ref="SPAN" />
531 <xs:element ref="pi" />
532 <xs:element ref="theta" />
533 <xs:element ref="typeparamref" />
534 <xs:element ref="whitespace" />
535 <xs:element ref="img" />
540 <xs:element name="img">
542 <xs:attribute name="href" type="xs:string" use="required" />
543 <xs:attribute name="class" type="xs:string" use="optional" />
547 <xs:element name="param">
548 <xs:complexType mixed="true">
549 <xs:choice minOccurs="0" maxOccurs="unbounded">
550 <xs:element ref="c" />
551 <xs:element ref="format" />
552 <xs:element ref="see" />
553 <xs:element ref="block" />
554 <xs:element ref="geq" />
555 <xs:element ref="leq" />
556 <xs:element ref="paramref" />
557 <xs:element ref="plusminus" />
558 <xs:element ref="para" />
559 <xs:element ref="SPAN" />
560 <xs:element ref="typeparamref" />
561 <xs:element ref="whitespace" />
563 <xs:attribute ref="name" use="required" />
567 <xs:element name="paramref">
569 <xs:attribute ref="name" use="required" />
573 <xs:element name="Parameter">
576 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
578 <xs:attribute ref="Name" />
579 <xs:attribute ref="Type" />
580 <xs:attribute ref="RefType" />
584 <xs:element name="Parameters">
587 <xs:element ref="Parameter" minOccurs="0" maxOccurs="unbounded" />
592 <xs:element name="permission">
593 <xs:complexType mixed="true">
594 <xs:choice minOccurs="0" maxOccurs="unbounded">
595 <xs:element ref="block" />
596 <xs:element ref="format" />
597 <xs:element ref="para" />
598 <xs:element ref="paramref" />
599 <xs:element ref="see" />
600 <xs:element ref="typeparamref" />
602 <xs:attribute ref="cref" />
606 <xs:element name="property">
608 <xs:attribute ref="name" />
609 <xs:attribute ref="inherited" />
610 <xs:attribute ref="propertytype" />
614 <xs:element name="remarks">
615 <xs:complexType mixed="true">
616 <xs:choice minOccurs="0" maxOccurs="unbounded">
617 <xs:element ref="block" />
618 <xs:element ref="c" />
619 <xs:element ref="code" />
620 <xs:element ref="format" />
621 <xs:element ref="para" />
622 <xs:element ref="paramref" />
623 <xs:element ref="PRE" />
624 <xs:element ref="pre" />
625 <xs:element ref="see" />
626 <xs:element ref="ul" />
627 <xs:element ref="example" />
628 <xs:element ref="list" />
629 <xs:element ref="SPAN" />
630 <xs:element ref="typeparamref" />
635 <xs:element name="returns">
636 <xs:complexType mixed="true">
637 <xs:choice minOccurs="0" maxOccurs="unbounded">
638 <xs:element ref="format" />
639 <xs:element ref="geq" />
640 <xs:element ref="leq" />
641 <xs:element ref="list" />
642 <xs:element ref="para" />
643 <xs:element ref="paramref" />
644 <xs:element ref="pi" />
645 <xs:element ref="see" />
646 <xs:element ref="theta" />
647 <xs:element ref="typeparamref" />
648 <xs:element ref="ul" />
649 <xs:element ref="whitespace" />
654 <xs:element name="ReturnValue">
657 <xs:element ref="ReturnType" minOccurs="0" maxOccurs="1" />
658 <xs:element ref="Attributes" minOccurs="0" />
663 <xs:element name="see">
665 <xs:attribute ref="cref" />
666 <xs:attribute ref="langword" />
667 <xs:attribute ref="qualify" />
671 <xs:element name="since">
673 <xs:attribute ref="version" />
677 <xs:element name="SPAN">
678 <xs:complexType mixed="true">
679 <xs:choice minOccurs="0" maxOccurs="unbounded">
680 <xs:element ref="block" />
681 <xs:element ref="format" />
682 <xs:element ref="para" />
683 <xs:element ref="paramref" />
684 <xs:element ref="see" />
685 <xs:element ref="SPAN" />
686 <xs:element ref="typeparamref" />
688 <xs:attribute ref="version" />
692 <xs:element name="struct">
694 <xs:choice minOccurs="0" maxOccurs="unbounded">
695 <xs:element ref="constructor" />
696 <xs:element ref="property" />
697 <xs:element ref="method" />
698 <xs:element ref="field" />
699 <xs:element ref="operator" />
700 <xs:element ref="struct" />
701 <xs:element ref="class" />
703 <xs:attribute ref="name" />
704 <xs:attribute ref="namespace" />
708 <xs:element name="sub">
709 <xs:complexType mixed="true">
710 <xs:choice minOccurs="0" maxOccurs="unbounded">
711 <xs:element ref="paramref" />
712 <xs:element ref="typeparamref" />
717 <xs:element name="subscript">
719 <xs:attribute name="term" type="xs:string" use="required" />
723 <xs:element name="summary">
724 <xs:complexType mixed="true">
725 <xs:choice minOccurs="0" maxOccurs="unbounded">
726 <xs:element ref="block" />
727 <xs:element ref="c" />
728 <xs:element ref="format" />
729 <xs:element ref="para" />
730 <xs:element ref="paramref" />
731 <xs:element ref="see" />
732 <xs:element ref="typeparamref" />
733 <xs:element ref="ul" />
734 <xs:element ref="list" />
739 <xs:element name="sup">
740 <xs:complexType mixed="true">
741 <xs:choice minOccurs="0" maxOccurs="unbounded">
742 <xs:element ref="i" />
743 <xs:element ref="paramref" />
744 <xs:element ref="typeparamref" />
749 <xs:element name="superscript">
751 <xs:attribute name="term" type="xs:string" use="required" />
755 <xs:element name="term">
756 <xs:complexType mixed="true">
757 <xs:choice minOccurs="0" maxOccurs="unbounded">
758 <xs:element ref="block" />
759 <xs:element ref="c" />
760 <xs:element ref="format" />
761 <xs:element ref="geq" />
762 <xs:element ref="leq" />
763 <xs:element ref="see" />
764 <xs:element ref="para" />
765 <xs:element ref="paramref" />
766 <xs:element ref="pi" />
767 <xs:element ref="plusminus" />
768 <xs:element ref="sup" />
769 <xs:element ref="theta" />
770 <xs:element ref="typeparamref" />
771 <xs:element ref="whitespace" />
776 <xs:element name="theta" />
778 <xs:element name="threadsafe">
781 <xs:element ref="para" minOccurs="1" maxOccurs="unbounded" />
786 <xs:element name="ThreadingSafetyStatement">
787 <xs:complexType mixed="true">
789 <xs:element ref="link" minOccurs="0" />
794 <xs:element name="ThreadSafetyStatement">
795 <xs:complexType mixed="true">
797 <xs:element ref="link" minOccurs="0" />
802 <xs:element name="Type">
804 <xs:choice maxOccurs="unbounded">
805 <xs:element ref="TypeSignature" minOccurs="1" />
806 <xs:element ref="MemberOfLibrary" minOccurs="0" />
807 <xs:element ref="AssemblyInfo" minOccurs="1" />
808 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
809 <xs:element ref="ThreadingSafetyStatement" minOccurs="0" />
810 <xs:element ref="ThreadSafetyStatement" minOccurs="0" />
811 <xs:element ref="Docs" minOccurs="1" />
812 <xs:element ref="Base" minOccurs="1" />
813 <xs:element ref="Interfaces" minOccurs="1" />
814 <xs:element ref="Attributes" minOccurs="1" />
815 <xs:element ref="Members" minOccurs="1" />
816 <xs:element ref="Parameters" minOccurs="0" />
817 <xs:element ref="ReturnValue" minOccurs="0" />
818 <xs:element ref="TypeExcluded" minOccurs="0" />
820 <xs:attribute ref="Name" use="required" />
821 <xs:attribute ref="FullName" use="required" />
822 <xs:attribute ref="FullNameSP" />
823 <xs:attribute ref="Maintainer" />
827 <xs:element name="Types">
829 <xs:choice minOccurs="1" maxOccurs="unbounded">
830 <xs:element ref="Type" />
832 <xs:attribute ref="Library" use="required" />
836 <xs:element name="typeparam">
837 <xs:complexType mixed="true">
838 <xs:choice minOccurs="0" maxOccurs="unbounded">
839 <xs:element ref="block" />
840 <xs:element ref="c" />
841 <xs:element ref="format" />
842 <xs:element ref="para" />
843 <xs:element ref="paramref" />
844 <xs:element ref="see" />
845 <xs:element ref="typeparamref" />
847 <xs:attribute ref="name" use="required" />
851 <xs:element name="typeparamref">
853 <xs:attribute ref="name" use="required" />
857 <xs:element name="TypeParameters">
859 <xs:choice maxOccurs="unbounded">
860 <xs:element ref="TypeParameter" />
865 <xs:element name="TypeParameter">
866 <xs:complexType mixed="true">
867 <xs:choice minOccurs="0" maxOccurs="unbounded">
868 <xs:element ref="Attributes" />
869 <xs:element ref="Constraints" />
871 <xs:attribute ref="Name" use="required" />
875 <xs:element name="Constraints">
876 <xs:complexType mixed="true">
877 <xs:choice minOccurs="0" maxOccurs="unbounded">
878 <xs:element name="ParameterAttribute" type="xs:string" />
879 <xs:element ref="BaseTypeName" />
880 <xs:element ref="InterfaceName" />
885 <xs:element name="TypeSignature">
887 <xs:attribute ref="Language" use="required" />
888 <xs:attribute ref="Value" use="required" />
889 <xs:attribute ref="Maintainer" />
893 <xs:element name="ul">
896 <xs:element ref="li" minOccurs="1" maxOccurs="unbounded" />
901 <xs:element name="value">
902 <xs:complexType mixed="true">
903 <xs:choice minOccurs="0" maxOccurs="unbounded">
904 <xs:element ref="block" />
905 <xs:element ref="c" />
906 <xs:element ref="para" />
907 <xs:element ref="paramref" />
908 <xs:element ref="see" />
909 <xs:element ref="typeparamref" />
910 <xs:element ref="ul" />
911 <xs:element ref="example" />
912 <xs:element ref="list" />
918 index.xml & namespace-name.xml support
921 <!-- define attributes -->
922 <xs:attribute name="Version" type="xs:string" />
923 <xs:attribute name="DisplayName" type="xs:string" />
924 <xs:attribute name="Kind" type="xs:string" />
926 <!-- define simple elements -->
927 <xs:element name="Title" type="xs:string" />
929 <!-- define complex elements -->
930 <xs:element name="Assemblies">
932 <xs:choice minOccurs="0" maxOccurs="unbounded">
933 <xs:element ref="Assembly" />
938 <xs:element name="Assembly">
940 <xs:choice minOccurs="0" maxOccurs="unbounded">
941 <xs:element ref="AssemblyPublicKey" />
942 <xs:element ref="AssemblyCulture" />
943 <xs:element ref="Attributes" />
945 <xs:attribute ref="Name" />
946 <xs:attribute ref="Version" />
950 <xs:element name="Copyright">
951 <xs:complexType mixed="true">
952 <xs:choice minOccurs="0" maxOccurs="unbounded">
953 <xs:element ref="block" />
954 <xs:element ref="code" />
955 <xs:element ref="example" />
956 <xs:element ref="list" />
957 <xs:element ref="para" />
958 <xs:element ref="paramref" />
959 <xs:element ref="see" />
960 <xs:element ref="typeparamref" />
961 <xs:element ref="ul" />
966 <xs:element name="ExtensionMethods">
969 <xs:element ref="ExtensionMethod" minOccurs="0" maxOccurs="unbounded" />
974 <xs:element name="ExtensionMethod">
977 <xs:element name="Targets" minOccurs="1" maxOccurs="1">
979 <xs:choice minOccurs="1" maxOccurs="unbounded">
980 <xs:element name="Target">
982 <xs:attribute ref="Type" use="required" />
988 <xs:element ref="Member" minOccurs="1" maxOccurs="1" />
993 <xs:element name="Overview">
995 <xs:choice minOccurs="0" maxOccurs="unbounded">
996 <xs:element ref="Assemblies" />
997 <xs:element ref="Copyright" />
998 <xs:element ref="Remarks" />
999 <xs:element ref="Title" />
1000 <xs:element name="Types">
1002 <xs:choice minOccurs="0" maxOccurs="unbounded">
1003 <xs:element name="Namespace">
1005 <xs:choice minOccurs="0" maxOccurs="unbounded">
1006 <xs:element name="Type">
1008 <xs:attribute ref="Name" use="required" />
1009 <xs:attribute ref="DisplayName" />
1010 <xs:attribute ref="Kind" />
1014 <xs:attribute ref="Name" />
1020 <xs:element ref="ExtensionMethods" />
1025 <xs:element name="Remarks">
1026 <xs:complexType mixed="true">
1027 <xs:choice minOccurs="0" maxOccurs="unbounded">
1028 <xs:element ref="block" />
1029 <xs:element ref="code" />
1030 <xs:element ref="example" />
1031 <xs:element ref="list" />
1032 <xs:element ref="para" />
1033 <xs:element ref="paramref" />
1034 <xs:element ref="typeparamref" />
1035 <xs:element ref="see" />
1036 <xs:element ref="ul" />
1042 ECMA 335 CLILibraryTypes.xml support
1045 <xs:element name="Libraries">
1047 <xs:choice minOccurs="0" maxOccurs="unbounded">
1048 <xs:element ref="Types" minOccurs = "1" maxOccurs="unbounded" />
1053 <xs:element name="codelink">
1055 <xs:attribute name="SampleID" type="xs:string" />
1056 <xs:attribute name="SnippedID" type="xs:string" />
1060 <xs:element name="filterpriority" type="xs:string" />
1062 <xs:element name="geq" />
1063 <xs:element name="leq" />
1064 <xs:element name="plusminus" />
1065 <xs:element name="whitespace" />
1067 <xs:element name="PermissionSet">
1069 <xs:choice minOccurs="0" maxOccurs="unbounded">
1070 <xs:element name="IPermission">
1072 <xs:attribute name="class" type="xs:string" />
1073 <xs:attribute name="Flags" type="xs:string" />
1074 <xs:attribute name="Name" type="xs:string" />
1075 <xs:attribute name="PathDiscovery" type="xs:string" />
1076 <xs:attribute name="PublicKeyBlob" type="xs:string" />
1077 <xs:attribute name="Read" type="xs:string" />
1078 <xs:attribute name="Unrestricted" type="xs:string" />
1079 <xs:attribute name="version" type="xs:string" />
1080 <xs:attribute name="Window" type="xs:string" />
1088 ECMA 334 Annex E Documentation Comments support.
1091 <xs:element name="seealso">
1094 <xs:extension base="xs:string">
1095 <xs:attribute ref="cref" />
1101 <xs:element name="doc">
1104 <xs:element name="assembly">
1107 <xs:element name="name" type="xs:string" />
1111 <xs:element name="members">
1113 <xs:choice minOccurs="0" maxOccurs="unbounded">
1114 <xs:element name="member">
1116 <xs:choice minOccurs="0" maxOccurs="unbounded">
1117 <xs:element ref="seealso" />
1118 <xs:element ref="example" />
1119 <xs:element ref="exception" />
1120 <xs:element ref="param" />
1121 <xs:element ref="permission" />
1122 <xs:element ref="PermissionSet" />
1123 <xs:element ref="remarks" />
1124 <xs:element ref="returns" />
1125 <xs:element ref="summary" />
1126 <xs:element ref="threadsafe" />
1127 <xs:element ref="typeparam" />
1128 <xs:element ref="value" />
1130 <xs:attribute name="name" type="xs:string" />