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="id" type="xs:string" />
21 <xs:attribute name="inherited" type="xs:string" />
22 <xs:attribute name="language" type="xs:string" />
23 <xs:attribute name="Language" type="xs:string" />
24 <xs:attribute name="lang" type="xs:string" />
25 <xs:attribute name="langword" type="xs:string" />
26 <xs:attribute name="Library" type="xs:string" />
27 <xs:attribute name="location" type="xs:string" />
28 <xs:attribute name="Maintainer" type="xs:string" />
29 <xs:attribute name="MemberName" type="xs:string" />
30 <xs:attribute name="name" type="xs:string" />
31 <xs:attribute name="Name" type="xs:string" />
32 <xs:attribute name="namespace" type="xs:string" />
33 <xs:attribute name="propertytype" type="xs:string" />
34 <xs:attribute name="qualify" type="xs:boolean" />
35 <xs:attribute name="RefType" type="xs:string" />
36 <xs:attribute name="returntype" type="xs:string" />
37 <xs:attribute name="source" type="xs:string" />
38 <xs:attribute name="src" type="xs:string" />
39 <xs:attribute name="subset" type="xs:string" />
40 <xs:attribute name="Value" type="xs:string" />
41 <xs:attribute name="version" type="xs:string" />
42 <xs:attribute name="tool" type="xs:string" />
43 <xs:attribute name="type" type="xs:string" />
44 <xs:attribute name="Type" type="xs:string" />
45 <xs:attribute name="TypeParamName" type="xs:string" />
47 <!-- define simple elements -->
48 <xs:element name="AssemblyName" type="xs:string" />
49 <xs:element name="AssemblyPublicKey" type="xs:string" />
50 <xs:element name="AssemblyVersion" type="xs:string" />
51 <xs:element name="AssemblyCulture" type="xs:string" />
52 <xs:element name="AttributeName" type="xs:string" />
53 <xs:element name="BaseTypeName" type="xs:string" />
54 <xs:element name="Excluded" type="xs:string" />
55 <xs:element name="ExcludedBaseTypeName" type="xs:string" />
56 <xs:element name="ExcludedLibrary" type="xs:string" />
57 <xs:element name="ExcludedLibraryName" type="xs:string" />
58 <xs:element name="ExcludedTypeName" type="xs:string" />
59 <xs:element name="i" type="xs:string" />
60 <xs:element name="InterfaceName" type="xs:string" />
61 <xs:element name="li" type="xs:string" />
62 <xs:element name="MemberOfLibrary" type="xs:string" />
63 <xs:element name="MemberType" type="xs:string" />
64 <xs:element name="MemberValue" type="xs:string" />
65 <xs:element name="onequarter" />
66 <xs:element name="PRE" />
67 <xs:element name="permille" />
68 <xs:element name="pi" />
69 <xs:element name="pre" />
70 <xs:element name="ReturnType" type="xs:string" />
71 <xs:element name="TypeExcluded" type="xs:string" />
73 <!-- define complex elements -->
74 <xs:element name="altcompliant">
76 <xs:attribute ref="cref" />
80 <xs:element name="altmember">
83 <xs:extension base="xs:string">
84 <xs:attribute ref="cref" />
90 <xs:element name="AssemblyInfo">
93 <xs:element ref="AssemblyName" minOccurs="0" />
94 <xs:element ref="AssemblyPublicKey" minOccurs="0" />
95 <xs:element ref="AssemblyVersion" minOccurs="0" maxOccurs="unbounded" />
96 <xs:element ref="AssemblyCulture" minOccurs="0" />
97 <xs:element ref="Attributes" minOccurs="0" />
102 <xs:element name="Attribute">
105 <xs:element ref="AttributeName" />
106 <xs:element ref="Excluded" minOccurs="0" />
107 <xs:element ref="ExcludedTypeName" minOccurs="0" />
108 <xs:element ref="ExcludedLibraryName" minOccurs="0" />
113 <xs:element name="Attributes">
116 <xs:element ref="Attribute" minOccurs="0" maxOccurs="unbounded" />
121 <xs:element name="Base">
124 <xs:element ref="BaseTypeName" minOccurs="0" />
125 <xs:element ref="BaseTypeArguments" minOccurs="0" />
126 <xs:element ref="ExcludedBaseTypeName" minOccurs="0" />
127 <xs:element ref="ExcludedLibraryName" minOccurs="0" />
132 <xs:element name="BaseTypeArgument">
133 <xs:complexType mixed="true">
134 <xs:attribute ref="TypeParamName" />
138 <xs:element name="BaseTypeArguments">
141 <xs:element ref="BaseTypeArgument" minOccurs="0" />
146 <xs:element name="block">
147 <xs:complexType mixed="true">
148 <xs:choice minOccurs="0" maxOccurs="unbounded">
149 <xs:element ref="block" />
150 <xs:element ref="c" />
151 <xs:element ref="code" />
152 <xs:element ref="format" />
153 <xs:element ref="list" />
154 <xs:element ref="para" />
155 <xs:element ref="paramref" />
156 <xs:element ref="see" />
157 <xs:element ref="subscript" />
158 <xs:element ref="sup" />
159 <xs:element ref="pi" />
160 <xs:element ref="typeparamref" />
162 <xs:attribute ref="subset" />
163 <xs:attribute ref="type" />
167 <xs:element name="c">
168 <xs:complexType mixed="true">
169 <xs:choice minOccurs="0" maxOccurs="unbounded">
170 <xs:element ref="code" />
171 <xs:element ref="para" />
172 <xs:element ref="paramref" />
173 <xs:element ref="see" />
174 <xs:element ref="typeparamref" />
179 <xs:element name="class">
181 <xs:choice minOccurs="0" maxOccurs="unbounded">
182 <xs:element ref="constructor" />
183 <xs:element ref="property" />
184 <xs:element ref="method" />
185 <xs:element ref="field" />
186 <xs:element ref="operator" />
187 <xs:element ref="event" />
188 <xs:element ref="enum" />
189 <xs:element ref="class" />
190 <xs:element ref="struct" />
191 <xs:element ref="interface" />
192 <xs:element ref="delegate" />
194 <xs:attribute ref="name" />
195 <xs:attribute ref="namespace" />
199 <xs:element name="code">
202 <xs:extension base="xs:string">
203 <xs:attribute ref="lang" />
204 <xs:attribute ref="language" />
205 <xs:attribute ref="source" />
206 <xs:attribute ref="src" />
212 <xs:element name="constructor">
214 <xs:attribute ref="name" />
215 <xs:attribute ref="argnames" />
219 <xs:element name="delegate">
221 <xs:choice maxOccurs="unbounded">
222 <xs:element ref="constructor" />
223 <xs:element ref="method" />
224 <xs:element ref="property" />
225 <xs:element ref="operator" />
227 <xs:attribute ref="name" />
228 <xs:attribute ref="namespace" />
232 <xs:element name="description">
233 <xs:complexType mixed="true">
234 <xs:choice minOccurs="0" maxOccurs="unbounded">
235 <xs:element ref="c" />
236 <xs:element ref="block" />
237 <xs:element ref="geq" />
238 <xs:element ref="leq" />
239 <xs:element ref="paramref" />
240 <xs:element ref="para" />
241 <xs:element ref="permille" />
242 <xs:element ref="plusminus" />
243 <xs:element ref="SPAN" />
244 <xs:element ref="see" />
245 <xs:element ref="sub" />
246 <xs:element ref="typeparamref" />
251 <xs:element name="Docs">
253 <xs:choice minOccurs="0" maxOccurs="unbounded">
254 <xs:element ref="summary" />
255 <xs:element ref="param" />
256 <xs:element ref="exception" />
257 <xs:element ref="returns" />
258 <xs:element ref="remarks" />
259 <xs:element ref="example" />
260 <xs:element ref="value" />
261 <xs:element ref="permission" />
262 <xs:element ref="PermissionSet" />
263 <xs:element ref="altmember" />
264 <xs:element ref="altcompliant" />
265 <xs:element ref="since" />
266 <xs:element ref="threadsafe" />
267 <xs:element ref="typeparam" />
268 <xs:element ref="filterpriority" />
269 <xs:element ref="related" />
274 <xs:simpleType name="relatedType">
275 <xs:restriction base="xs:string">
276 <!-- External code/application samples -->
277 <xs:enumeration value="sample"/>
278 <!-- e.g. ECMA, OPC, OData, ... specs -->
279 <xs:enumeration value="specification"/>
280 <!-- e.g. Apple/Android documentation -->
281 <xs:enumeration value="externalDocumentation" />
282 <!-- e.g. a more in-depth article at docs.xamarin.com -->
283 <xs:enumeration value="article" />
284 <!-- e.g. a small article describing succintly a feature -->
285 <xs:enumeration value="recipe" />
289 <xs:element name="related">
290 <xs:complexType mixed="true">
291 <xs:attribute name="type" type="relatedType" />
292 <xs:attribute name="href" type="xs:anyURI" />
296 <xs:element name="enum">
298 <xs:choice minOccurs="0" maxOccurs="unbounded">
299 <xs:element ref="field" />
300 <xs:element ref="method" />
302 <xs:attribute ref="name" />
303 <xs:attribute ref="namespace" />
307 <xs:element name="event">
309 <xs:attribute ref="name" />
310 <xs:attribute ref="inherited" />
314 <xs:element name="example">
315 <xs:complexType mixed="true">
316 <xs:choice maxOccurs="unbounded">
317 <xs:element ref="format" />
318 <xs:element ref="para" />
319 <xs:element ref="code" />
320 <xs:element ref="codelink" />
321 <xs:element ref="c" />
322 <xs:element ref="list" />
323 <xs:element ref="see" />
328 <xs:element name="exception">
329 <xs:complexType mixed="true">
330 <xs:choice minOccurs="0" maxOccurs="unbounded">
331 <xs:element ref="block" />
332 <xs:element ref="format" />
333 <xs:element ref="list" />
334 <xs:element ref="para" />
335 <xs:element ref="paramref" />
336 <xs:element ref="see" />
337 <xs:element ref="SPAN" />
338 <xs:element ref="typeparamref" />
340 <xs:attribute ref="cref" />
344 <xs:element name="field">
346 <xs:attribute ref="name" />
347 <xs:attribute ref="inherited" />
351 <xs:element name="format">
354 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
356 <xs:attribute ref="type" />
360 <xs:element name="interface">
362 <xs:choice minOccurs="0" maxOccurs="unbounded">
363 <xs:element ref="constructor" />
364 <xs:element ref="property" />
365 <xs:element ref="method" />
366 <xs:element ref="field" />
367 <xs:element ref="event" />
369 <xs:attribute ref="name" />
370 <xs:attribute ref="namespace" />
374 <xs:element name="Interface">
377 <xs:element ref="InterfaceName" />
378 <xs:element ref="Excluded" minOccurs="0" />
383 <xs:element name="Interfaces">
386 <xs:element ref="Interface" minOccurs="0" maxOccurs="unbounded" />
391 <xs:element name="item">
394 <xs:element ref="term" minOccurs="1" maxOccurs="1" />
395 <xs:element ref="description" minOccurs="0" maxOccurs="unbounded" />
400 <xs:element name="link">
403 <xs:extension base="xs:string">
404 <xs:attribute ref="location" />
410 <xs:element name="list">
413 <xs:element ref="listheader" minOccurs="0" maxOccurs="1" />
414 <xs:element ref="item" minOccurs="0" maxOccurs="unbounded" />
416 <xs:attribute name="type" type="xs:string" />
420 <xs:element name="listheader">
423 <xs:element ref="term" />
424 <xs:element ref="description" maxOccurs="unbounded" />
429 <xs:element name="masterdoc">
431 <xs:choice minOccurs="0" maxOccurs="unbounded">
432 <xs:element ref="class" />
433 <xs:element ref="delegate" />
434 <xs:element ref="interface" />
435 <xs:element ref="struct" />
436 <xs:element ref="enum" />
438 <xs:attribute name="assembly" type="xs:string" />
442 <xs:element name="MemberSignature">
444 <xs:attribute ref="Language" />
445 <xs:attribute ref="Value" />
449 <xs:element name="Link">
451 <xs:attribute ref="Type" use="required" />
452 <xs:attribute name="Member" type="xs:string" use="required" />
456 <xs:element name="Member">
459 <xs:element ref="MemberSignature" minOccurs="1" maxOccurs="unbounded" />
460 <xs:element ref="MemberType" maxOccurs="1" />
461 <xs:element ref="AssemblyInfo" minOccurs="0" maxOccurs="1" />
462 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
463 <xs:element ref="ReturnValue" minOccurs="0" maxOccurs="1" />
464 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
465 <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" />
466 <xs:element ref="MemberValue" minOccurs="0" maxOccurs="1" />
467 <xs:element ref="Docs" maxOccurs="1" />
468 <xs:element ref="Excluded" minOccurs="0" maxOccurs="1" />
469 <xs:element ref="ExcludedLibrary" minOccurs="0" maxOccurs="unbounded" />
470 <xs:element ref="Link" minOccurs="0" maxOccurs="1" />
472 <xs:attribute ref="MemberName" />
473 <xs:attribute ref="Deprecated" />
477 <xs:element name="Members">
480 <xs:element ref="Member" minOccurs="0" maxOccurs="unbounded" />
485 <xs:element name="method">
487 <xs:attribute ref="name" />
488 <xs:attribute ref="argnames" />
489 <xs:attribute ref="inherited" />
490 <xs:attribute ref="returntype" />
494 <xs:element name="Namespace">
497 <xs:element ref="Docs" maxOccurs="1" />
499 <xs:attribute ref="Name" />
500 <xs:attribute ref="FullName" />
501 <xs:attribute ref="FullNameSP" />
502 <xs:attribute ref="Maintainer" />
506 <xs:element name="operator">
508 <xs:attribute ref="name" />
509 <xs:attribute ref="argnames" />
513 <xs:element name="para">
514 <xs:complexType mixed="true">
515 <xs:choice minOccurs="0" maxOccurs="unbounded">
516 <xs:element ref="block" />
517 <xs:element ref="i" />
518 <xs:element ref="format" />
519 <xs:element ref="see" />
520 <xs:element ref="geq" />
521 <xs:element ref="leq" />
522 <xs:element ref="list" />
523 <xs:element ref="link" />
524 <xs:element ref="ul" />
525 <xs:element ref="paramref" />
526 <xs:element ref="c" />
527 <xs:element ref="onequarter" />
528 <xs:element ref="sub" />
529 <xs:element ref="superscript" />
530 <xs:element ref="sup" />
531 <xs:element ref="permille" />
532 <xs:element ref="plusminus" />
533 <xs:element ref="SPAN" />
534 <xs:element ref="pi" />
535 <xs:element ref="theta" />
536 <xs:element ref="typeparamref" />
537 <xs:element ref="whitespace" />
538 <xs:element ref="img" />
540 <xs:attribute ref="id" />
541 <xs:attribute ref="tool" />
545 <xs:element name="img">
547 <xs:attribute name="href" type="xs:string" use="required" />
548 <xs:attribute name="class" type="xs:string" use="optional" />
552 <xs:element name="param">
553 <xs:complexType mixed="true">
554 <xs:choice minOccurs="0" maxOccurs="unbounded">
555 <xs:element ref="c" />
556 <xs:element ref="format" />
557 <xs:element ref="see" />
558 <xs:element ref="block" />
559 <xs:element ref="geq" />
560 <xs:element ref="leq" />
561 <xs:element ref="paramref" />
562 <xs:element ref="plusminus" />
563 <xs:element ref="para" />
564 <xs:element ref="SPAN" />
565 <xs:element ref="typeparamref" />
566 <xs:element ref="whitespace" />
568 <xs:attribute ref="name" use="required" />
572 <xs:element name="paramref">
574 <xs:attribute ref="name" use="required" />
578 <xs:element name="Parameter">
581 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
583 <xs:attribute ref="Name" />
584 <xs:attribute ref="Type" />
585 <xs:attribute ref="RefType" />
589 <xs:element name="Parameters">
592 <xs:element ref="Parameter" minOccurs="0" maxOccurs="unbounded" />
597 <xs:element name="permission">
598 <xs:complexType mixed="true">
599 <xs:choice minOccurs="0" maxOccurs="unbounded">
600 <xs:element ref="block" />
601 <xs:element ref="format" />
602 <xs:element ref="para" />
603 <xs:element ref="paramref" />
604 <xs:element ref="see" />
605 <xs:element ref="typeparamref" />
607 <xs:attribute ref="cref" />
611 <xs:element name="property">
613 <xs:attribute ref="name" />
614 <xs:attribute ref="inherited" />
615 <xs:attribute ref="propertytype" />
619 <xs:element name="remarks">
620 <xs:complexType mixed="true">
621 <xs:choice minOccurs="0" maxOccurs="unbounded">
622 <xs:element ref="block" />
623 <xs:element ref="c" />
624 <xs:element ref="code" />
625 <xs:element ref="format" />
626 <xs:element ref="para" />
627 <xs:element ref="paramref" />
628 <xs:element ref="PRE" />
629 <xs:element ref="pre" />
630 <xs:element ref="see" />
631 <xs:element ref="ul" />
632 <xs:element ref="example" />
633 <xs:element ref="list" />
634 <xs:element ref="SPAN" />
635 <xs:element ref="typeparamref" />
640 <xs:element name="returns">
641 <xs:complexType mixed="true">
642 <xs:choice minOccurs="0" maxOccurs="unbounded">
643 <xs:element ref="c" />
644 <xs:element ref="format" />
645 <xs:element ref="geq" />
646 <xs:element ref="leq" />
647 <xs:element ref="list" />
648 <xs:element ref="para" />
649 <xs:element ref="paramref" />
650 <xs:element ref="pi" />
651 <xs:element ref="see" />
652 <xs:element ref="theta" />
653 <xs:element ref="typeparamref" />
654 <xs:element ref="ul" />
655 <xs:element ref="whitespace" />
660 <xs:element name="ReturnValue">
663 <xs:element ref="ReturnType" minOccurs="0" maxOccurs="1" />
664 <xs:element ref="Attributes" minOccurs="0" />
669 <xs:element name="see">
671 <xs:attribute ref="cref" />
672 <xs:attribute ref="langword" />
673 <xs:attribute ref="qualify" />
677 <xs:element name="since">
679 <xs:attribute ref="version" />
683 <xs:element name="SPAN">
684 <xs:complexType mixed="true">
685 <xs:choice minOccurs="0" maxOccurs="unbounded">
686 <xs:element ref="block" />
687 <xs:element ref="format" />
688 <xs:element ref="para" />
689 <xs:element ref="paramref" />
690 <xs:element ref="see" />
691 <xs:element ref="SPAN" />
692 <xs:element ref="typeparamref" />
694 <xs:attribute ref="version" />
698 <xs:element name="struct">
700 <xs:choice minOccurs="0" maxOccurs="unbounded">
701 <xs:element ref="constructor" />
702 <xs:element ref="property" />
703 <xs:element ref="method" />
704 <xs:element ref="field" />
705 <xs:element ref="operator" />
706 <xs:element ref="struct" />
707 <xs:element ref="class" />
709 <xs:attribute ref="name" />
710 <xs:attribute ref="namespace" />
714 <xs:element name="sub">
715 <xs:complexType mixed="true">
716 <xs:choice minOccurs="0" maxOccurs="unbounded">
717 <xs:element ref="paramref" />
718 <xs:element ref="typeparamref" />
723 <xs:element name="subscript">
725 <xs:attribute name="term" type="xs:string" use="required" />
729 <xs:element name="summary">
730 <xs:complexType mixed="true">
731 <xs:choice minOccurs="0" maxOccurs="unbounded">
732 <xs:element ref="block" />
733 <xs:element ref="c" />
734 <xs:element ref="format" />
735 <xs:element ref="para" />
736 <xs:element ref="paramref" />
737 <xs:element ref="see" />
738 <xs:element ref="typeparamref" />
739 <xs:element ref="ul" />
740 <xs:element ref="list" />
745 <xs:element name="sup">
746 <xs:complexType mixed="true">
747 <xs:choice minOccurs="0" maxOccurs="unbounded">
748 <xs:element ref="i" />
749 <xs:element ref="paramref" />
750 <xs:element ref="typeparamref" />
755 <xs:element name="superscript">
757 <xs:attribute name="term" type="xs:string" use="required" />
761 <xs:element name="term">
762 <xs:complexType mixed="true">
763 <xs:choice minOccurs="0" maxOccurs="unbounded">
764 <xs:element ref="block" />
765 <xs:element ref="c" />
766 <xs:element ref="format" />
767 <xs:element ref="geq" />
768 <xs:element ref="leq" />
769 <xs:element ref="see" />
770 <xs:element ref="para" />
771 <xs:element ref="paramref" />
772 <xs:element ref="pi" />
773 <xs:element ref="plusminus" />
774 <xs:element ref="sup" />
775 <xs:element ref="theta" />
776 <xs:element ref="typeparamref" />
777 <xs:element ref="whitespace" />
782 <xs:element name="theta" />
784 <xs:element name="threadsafe">
787 <xs:element ref="para" minOccurs="1" maxOccurs="unbounded" />
792 <xs:element name="ThreadingSafetyStatement">
793 <xs:complexType mixed="true">
795 <xs:element ref="link" minOccurs="0" />
800 <xs:element name="ThreadSafetyStatement">
801 <xs:complexType mixed="true">
803 <xs:element ref="link" minOccurs="0" />
808 <xs:element name="Type">
810 <xs:choice maxOccurs="unbounded">
811 <xs:element ref="TypeSignature" minOccurs="1" />
812 <xs:element ref="MemberOfLibrary" minOccurs="0" />
813 <xs:element ref="AssemblyInfo" minOccurs="1" />
814 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
815 <xs:element ref="ThreadingSafetyStatement" minOccurs="0" />
816 <xs:element ref="ThreadSafetyStatement" minOccurs="0" />
817 <xs:element ref="Docs" minOccurs="1" />
818 <xs:element ref="Base" minOccurs="1" />
819 <xs:element ref="Interfaces" minOccurs="1" />
820 <xs:element ref="Attributes" minOccurs="1" />
821 <xs:element ref="Members" minOccurs="1" />
822 <xs:element ref="Parameters" minOccurs="0" />
823 <xs:element ref="ReturnValue" minOccurs="0" />
824 <xs:element ref="TypeExcluded" minOccurs="0" />
826 <xs:attribute ref="Name" use="required" />
827 <xs:attribute ref="FullName" use="required" />
828 <xs:attribute ref="FullNameSP" />
829 <xs:attribute ref="Maintainer" />
833 <xs:element name="Types">
835 <xs:choice minOccurs="1" maxOccurs="unbounded">
836 <xs:element ref="Type" />
838 <xs:attribute ref="Library" use="required" />
842 <xs:element name="typeparam">
843 <xs:complexType mixed="true">
844 <xs:choice minOccurs="0" maxOccurs="unbounded">
845 <xs:element ref="block" />
846 <xs:element ref="c" />
847 <xs:element ref="format" />
848 <xs:element ref="para" />
849 <xs:element ref="paramref" />
850 <xs:element ref="see" />
851 <xs:element ref="typeparamref" />
853 <xs:attribute ref="name" use="required" />
857 <xs:element name="typeparamref">
859 <xs:attribute ref="name" use="required" />
863 <xs:element name="TypeParameters">
865 <xs:choice maxOccurs="unbounded">
866 <xs:element ref="TypeParameter" />
871 <xs:element name="TypeParameter">
872 <xs:complexType mixed="true">
873 <xs:choice minOccurs="0" maxOccurs="unbounded">
874 <xs:element ref="Attributes" />
875 <xs:element ref="Constraints" />
877 <xs:attribute ref="Name" use="required" />
881 <xs:element name="Constraints">
882 <xs:complexType mixed="true">
883 <xs:choice minOccurs="0" maxOccurs="unbounded">
884 <xs:element name="ParameterAttribute" type="xs:string" />
885 <xs:element ref="BaseTypeName" />
886 <xs:element ref="InterfaceName" />
891 <xs:element name="TypeSignature">
893 <xs:attribute ref="Language" use="required" />
894 <xs:attribute ref="Value" use="required" />
895 <xs:attribute ref="Maintainer" />
899 <xs:element name="ul">
902 <xs:element ref="li" minOccurs="1" maxOccurs="unbounded" />
907 <xs:element name="value">
908 <xs:complexType mixed="true">
909 <xs:choice minOccurs="0" maxOccurs="unbounded">
910 <xs:element ref="block" />
911 <xs:element ref="c" />
912 <xs:element ref="para" />
913 <xs:element ref="paramref" />
914 <xs:element ref="see" />
915 <xs:element ref="typeparamref" />
916 <xs:element ref="ul" />
917 <xs:element ref="example" />
918 <xs:element ref="list" />
924 index.xml & namespace-name.xml support
927 <!-- define attributes -->
928 <xs:attribute name="Version" type="xs:string" />
929 <xs:attribute name="DisplayName" type="xs:string" />
930 <xs:attribute name="Kind" type="xs:string" />
932 <!-- define simple elements -->
933 <xs:element name="Title" type="xs:string" />
935 <!-- define complex elements -->
936 <xs:element name="Assemblies">
938 <xs:choice minOccurs="0" maxOccurs="unbounded">
939 <xs:element ref="Assembly" />
944 <xs:element name="Assembly">
946 <xs:choice minOccurs="0" maxOccurs="unbounded">
947 <xs:element ref="AssemblyPublicKey" />
948 <xs:element ref="AssemblyCulture" />
949 <xs:element ref="Attributes" />
951 <xs:attribute ref="Name" />
952 <xs:attribute ref="Version" />
956 <xs:element name="Copyright">
957 <xs:complexType mixed="true">
958 <xs:choice minOccurs="0" maxOccurs="unbounded">
959 <xs:element ref="block" />
960 <xs:element ref="code" />
961 <xs:element ref="example" />
962 <xs:element ref="list" />
963 <xs:element ref="para" />
964 <xs:element ref="paramref" />
965 <xs:element ref="see" />
966 <xs:element ref="typeparamref" />
967 <xs:element ref="ul" />
972 <xs:element name="ExtensionMethods">
975 <xs:element ref="ExtensionMethod" minOccurs="0" maxOccurs="unbounded" />
980 <xs:element name="ExtensionMethod">
983 <xs:element name="Targets" minOccurs="1" maxOccurs="1">
985 <xs:choice minOccurs="1" maxOccurs="unbounded">
986 <xs:element name="Target">
988 <xs:attribute ref="Type" use="required" />
994 <xs:element ref="Member" minOccurs="1" maxOccurs="1" />
999 <xs:element name="Overview">
1001 <xs:choice minOccurs="0" maxOccurs="unbounded">
1002 <xs:element ref="Assemblies" />
1003 <xs:element ref="Copyright" />
1004 <xs:element ref="Remarks" />
1005 <xs:element ref="Title" />
1006 <xs:element name="Types">
1008 <xs:choice minOccurs="0" maxOccurs="unbounded">
1009 <xs:element name="Namespace">
1011 <xs:choice minOccurs="0" maxOccurs="unbounded">
1012 <xs:element name="Type">
1014 <xs:attribute ref="Name" use="required" />
1015 <xs:attribute ref="DisplayName" />
1016 <xs:attribute ref="Kind" />
1020 <xs:attribute ref="Name" />
1026 <xs:element ref="ExtensionMethods" />
1031 <xs:element name="Remarks">
1032 <xs:complexType mixed="true">
1033 <xs:choice minOccurs="0" maxOccurs="unbounded">
1034 <xs:element ref="block" />
1035 <xs:element ref="code" />
1036 <xs:element ref="example" />
1037 <xs:element ref="list" />
1038 <xs:element ref="para" />
1039 <xs:element ref="paramref" />
1040 <xs:element ref="typeparamref" />
1041 <xs:element ref="see" />
1042 <xs:element ref="ul" />
1048 ECMA 335 CLILibraryTypes.xml support
1051 <xs:element name="Libraries">
1053 <xs:choice minOccurs="0" maxOccurs="unbounded">
1054 <xs:element ref="Types" minOccurs = "1" maxOccurs="unbounded" />
1059 <xs:element name="codelink">
1061 <xs:attribute name="SampleID" type="xs:string" />
1062 <xs:attribute name="SnippedID" type="xs:string" />
1066 <xs:element name="filterpriority" type="xs:string" />
1068 <xs:element name="geq" />
1069 <xs:element name="leq" />
1070 <xs:element name="plusminus" />
1071 <xs:element name="whitespace" />
1073 <xs:element name="PermissionSet">
1075 <xs:choice minOccurs="0" maxOccurs="unbounded">
1076 <xs:element name="IPermission">
1078 <xs:attribute name="class" type="xs:string" />
1079 <xs:attribute name="Flags" type="xs:string" />
1080 <xs:attribute name="Name" type="xs:string" />
1081 <xs:attribute name="PathDiscovery" type="xs:string" />
1082 <xs:attribute name="PublicKeyBlob" type="xs:string" />
1083 <xs:attribute name="Read" type="xs:string" />
1084 <xs:attribute name="Unrestricted" type="xs:string" />
1085 <xs:attribute name="version" type="xs:string" />
1086 <xs:attribute name="Window" type="xs:string" />
1094 ECMA 334 Annex E Documentation Comments support.
1097 <xs:element name="seealso">
1100 <xs:extension base="xs:string">
1101 <xs:attribute ref="cref" />
1107 <xs:element name="doc">
1110 <xs:element name="assembly">
1113 <xs:element name="name" type="xs:string" />
1117 <xs:element name="members">
1119 <xs:choice minOccurs="0" maxOccurs="unbounded">
1120 <xs:element name="member">
1122 <xs:choice minOccurs="0" maxOccurs="unbounded">
1123 <xs:element ref="seealso" />
1124 <xs:element ref="example" />
1125 <xs:element ref="exception" />
1126 <xs:element ref="param" />
1127 <xs:element ref="permission" />
1128 <xs:element ref="PermissionSet" />
1129 <xs:element ref="remarks" />
1130 <xs:element ref="returns" />
1131 <xs:element ref="summary" />
1132 <xs:element ref="threadsafe" />
1133 <xs:element ref="typeparam" />
1134 <xs:element ref="value" />
1136 <xs:attribute name="name" type="xs:string" />