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 <restriction base="string">
274 <!-- External code/application samples -->
275 <enumeration value="sample"/>
276 <!-- e.g. ECMA, OPC, OData, ... specs -->
277 <enumeration value="specification"/>
278 <!-- e.g. Apple documentation -->
279 <enumeration value="externalDocumentation" />
280 <!-- e.g. a more in-depth article at docs.xamarin.com -->
281 <enumeration value="article" />
285 <xs:element name="related">
287 <xs:attribute name="type" type="relatedType" />
288 <xs:attribute name="href" type="anyURI" />
292 <xs:element name="enum">
294 <xs:choice minOccurs="0" maxOccurs="unbounded">
295 <xs:element ref="field" />
296 <xs:element ref="method" />
298 <xs:attribute ref="name" />
299 <xs:attribute ref="namespace" />
303 <xs:element name="event">
305 <xs:attribute ref="name" />
306 <xs:attribute ref="inherited" />
310 <xs:element name="example">
311 <xs:complexType mixed="true">
312 <xs:choice maxOccurs="unbounded">
313 <xs:element ref="format" />
314 <xs:element ref="para" />
315 <xs:element ref="code" />
316 <xs:element ref="codelink" />
317 <xs:element ref="c" />
318 <xs:element ref="list" />
319 <xs:element ref="see" />
324 <xs:element name="exception">
325 <xs:complexType mixed="true">
326 <xs:choice minOccurs="0" maxOccurs="unbounded">
327 <xs:element ref="block" />
328 <xs:element ref="format" />
329 <xs:element ref="para" />
330 <xs:element ref="paramref" />
331 <xs:element ref="see" />
332 <xs:element ref="SPAN" />
333 <xs:element ref="typeparamref" />
335 <xs:attribute ref="cref" />
339 <xs:element name="field">
341 <xs:attribute ref="name" />
342 <xs:attribute ref="inherited" />
346 <xs:element name="format">
349 <xs:any minOccurs="0" processContents="lax" />
351 <xs:attribute ref="type" />
355 <xs:element name="interface">
357 <xs:choice minOccurs="0" maxOccurs="unbounded">
358 <xs:element ref="constructor" />
359 <xs:element ref="property" />
360 <xs:element ref="method" />
361 <xs:element ref="field" />
362 <xs:element ref="event" />
364 <xs:attribute ref="name" />
365 <xs:attribute ref="namespace" />
369 <xs:element name="Interface">
372 <xs:element ref="InterfaceName" />
373 <xs:element ref="Excluded" minOccurs="0" />
378 <xs:element name="Interfaces">
381 <xs:element ref="Interface" minOccurs="0" maxOccurs="unbounded" />
386 <xs:element name="item">
389 <xs:element ref="term" minOccurs="1" maxOccurs="1" />
390 <xs:element ref="description" minOccurs="0" maxOccurs="unbounded" />
395 <xs:element name="link">
398 <xs:extension base="xs:string">
399 <xs:attribute ref="location" />
405 <xs:element name="list">
408 <xs:element ref="listheader" minOccurs="0" maxOccurs="1" />
409 <xs:element ref="item" minOccurs="0" maxOccurs="unbounded" />
411 <xs:attribute name="type" type="xs:string" />
415 <xs:element name="listheader">
418 <xs:element ref="term" />
419 <xs:element ref="description" maxOccurs="unbounded" />
424 <xs:element name="masterdoc">
426 <xs:choice minOccurs="0" maxOccurs="unbounded">
427 <xs:element ref="class" />
428 <xs:element ref="delegate" />
429 <xs:element ref="interface" />
430 <xs:element ref="struct" />
431 <xs:element ref="enum" />
433 <xs:attribute name="assembly" type="xs:string" />
437 <xs:element name="MemberSignature">
439 <xs:attribute ref="Language" />
440 <xs:attribute ref="Value" />
444 <xs:element name="Link">
446 <xs:attribute ref="Type" use="required" />
447 <xs:attribute name="Member" type="xs:string" use="required" />
451 <xs:element name="Member">
454 <xs:element ref="MemberSignature" minOccurs="1" maxOccurs="unbounded" />
455 <xs:element ref="MemberType" maxOccurs="1" />
456 <xs:element ref="AssemblyInfo" minOccurs="0" maxOccurs="1" />
457 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
458 <xs:element ref="ReturnValue" minOccurs="0" maxOccurs="1" />
459 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
460 <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" />
461 <xs:element ref="MemberValue" minOccurs="0" maxOccurs="1" />
462 <xs:element ref="Docs" maxOccurs="1" />
463 <xs:element ref="Excluded" minOccurs="0" maxOccurs="1" />
464 <xs:element ref="ExcludedLibrary" minOccurs="0" maxOccurs="unbounded" />
465 <xs:element ref="Link" minOccurs="0" maxOccurs="1" />
467 <xs:attribute ref="MemberName" />
468 <xs:attribute ref="Deprecated" />
472 <xs:element name="Members">
475 <xs:element ref="Member" minOccurs="0" maxOccurs="unbounded" />
480 <xs:element name="method">
482 <xs:attribute ref="name" />
483 <xs:attribute ref="argnames" />
484 <xs:attribute ref="inherited" />
485 <xs:attribute ref="returntype" />
489 <xs:element name="Namespace">
492 <xs:element ref="Docs" maxOccurs="1" />
494 <xs:attribute ref="Name" />
495 <xs:attribute ref="FullName" />
496 <xs:attribute ref="FullNameSP" />
497 <xs:attribute ref="Maintainer" />
501 <xs:element name="operator">
503 <xs:attribute ref="name" />
504 <xs:attribute ref="argnames" />
508 <xs:element name="para">
509 <xs:complexType mixed="true">
510 <xs:choice minOccurs="0" maxOccurs="unbounded">
511 <xs:element ref="block" />
512 <xs:element ref="i" />
513 <xs:element ref="format" />
514 <xs:element ref="see" />
515 <xs:element ref="geq" />
516 <xs:element ref="leq" />
517 <xs:element ref="list" />
518 <xs:element ref="link" />
519 <xs:element ref="ul" />
520 <xs:element ref="paramref" />
521 <xs:element ref="c" />
522 <xs:element ref="onequarter" />
523 <xs:element ref="sub" />
524 <xs:element ref="superscript" />
525 <xs:element ref="sup" />
526 <xs:element ref="permille" />
527 <xs:element ref="plusminus" />
528 <xs:element ref="SPAN" />
529 <xs:element ref="pi" />
530 <xs:element ref="theta" />
531 <xs:element ref="typeparamref" />
532 <xs:element ref="whitespace" />
533 <xs:element ref="img" />
538 <xs:element name="img">
540 <xs:attribute name="href" type="xs:string" use="required" />
541 <xs:attribute name="class" type="xs:string" use="optional" />
545 <xs:element name="param">
546 <xs:complexType mixed="true">
547 <xs:choice minOccurs="0" maxOccurs="unbounded">
548 <xs:element ref="c" />
549 <xs:element ref="format" />
550 <xs:element ref="see" />
551 <xs:element ref="block" />
552 <xs:element ref="geq" />
553 <xs:element ref="leq" />
554 <xs:element ref="paramref" />
555 <xs:element ref="plusminus" />
556 <xs:element ref="para" />
557 <xs:element ref="SPAN" />
558 <xs:element ref="typeparamref" />
559 <xs:element ref="whitespace" />
561 <xs:attribute ref="name" use="required" />
565 <xs:element name="paramref">
567 <xs:attribute ref="name" use="required" />
571 <xs:element name="Parameter">
574 <xs:element ref="Attributes" minOccurs="0" maxOccurs="1" />
576 <xs:attribute ref="Name" />
577 <xs:attribute ref="Type" />
578 <xs:attribute ref="RefType" />
582 <xs:element name="Parameters">
585 <xs:element ref="Parameter" minOccurs="0" maxOccurs="unbounded" />
590 <xs:element name="permission">
591 <xs:complexType mixed="true">
592 <xs:choice minOccurs="0" maxOccurs="unbounded">
593 <xs:element ref="block" />
594 <xs:element ref="format" />
595 <xs:element ref="para" />
596 <xs:element ref="paramref" />
597 <xs:element ref="see" />
598 <xs:element ref="typeparamref" />
600 <xs:attribute ref="cref" />
604 <xs:element name="property">
606 <xs:attribute ref="name" />
607 <xs:attribute ref="inherited" />
608 <xs:attribute ref="propertytype" />
612 <xs:element name="remarks">
613 <xs:complexType mixed="true">
614 <xs:choice minOccurs="0" maxOccurs="unbounded">
615 <xs:element ref="block" />
616 <xs:element ref="c" />
617 <xs:element ref="code" />
618 <xs:element ref="format" />
619 <xs:element ref="para" />
620 <xs:element ref="paramref" />
621 <xs:element ref="PRE" />
622 <xs:element ref="pre" />
623 <xs:element ref="see" />
624 <xs:element ref="ul" />
625 <xs:element ref="example" />
626 <xs:element ref="list" />
627 <xs:element ref="SPAN" />
628 <xs:element ref="typeparamref" />
633 <xs:element name="returns">
634 <xs:complexType mixed="true">
635 <xs:choice minOccurs="0" maxOccurs="unbounded">
636 <xs:element ref="format" />
637 <xs:element ref="geq" />
638 <xs:element ref="leq" />
639 <xs:element ref="list" />
640 <xs:element ref="para" />
641 <xs:element ref="paramref" />
642 <xs:element ref="pi" />
643 <xs:element ref="see" />
644 <xs:element ref="theta" />
645 <xs:element ref="typeparamref" />
646 <xs:element ref="ul" />
647 <xs:element ref="whitespace" />
652 <xs:element name="ReturnValue">
655 <xs:element ref="ReturnType" minOccurs="0" maxOccurs="1" />
656 <xs:element ref="Attributes" minOccurs="0" />
661 <xs:element name="see">
663 <xs:attribute ref="cref" />
664 <xs:attribute ref="langword" />
665 <xs:attribute ref="qualify" />
669 <xs:element name="since">
671 <xs:attribute ref="version" />
675 <xs:element name="SPAN">
676 <xs:complexType mixed="true">
677 <xs:choice minOccurs="0" maxOccurs="unbounded">
678 <xs:element ref="block" />
679 <xs:element ref="format" />
680 <xs:element ref="para" />
681 <xs:element ref="paramref" />
682 <xs:element ref="see" />
683 <xs:element ref="SPAN" />
684 <xs:element ref="typeparamref" />
686 <xs:attribute ref="version" />
690 <xs:element name="struct">
692 <xs:choice minOccurs="0" maxOccurs="unbounded">
693 <xs:element ref="constructor" />
694 <xs:element ref="property" />
695 <xs:element ref="method" />
696 <xs:element ref="field" />
697 <xs:element ref="operator" />
698 <xs:element ref="struct" />
699 <xs:element ref="class" />
701 <xs:attribute ref="name" />
702 <xs:attribute ref="namespace" />
706 <xs:element name="sub">
707 <xs:complexType mixed="true">
708 <xs:choice minOccurs="0" maxOccurs="unbounded">
709 <xs:element ref="paramref" />
710 <xs:element ref="typeparamref" />
715 <xs:element name="subscript">
717 <xs:attribute name="term" type="xs:string" use="required" />
721 <xs:element name="summary">
722 <xs:complexType mixed="true">
723 <xs:choice minOccurs="0" maxOccurs="unbounded">
724 <xs:element ref="block" />
725 <xs:element ref="c" />
726 <xs:element ref="format" />
727 <xs:element ref="para" />
728 <xs:element ref="paramref" />
729 <xs:element ref="see" />
730 <xs:element ref="typeparamref" />
731 <xs:element ref="ul" />
732 <xs:element ref="list" />
737 <xs:element name="sup">
738 <xs:complexType mixed="true">
739 <xs:choice minOccurs="0" maxOccurs="unbounded">
740 <xs:element ref="i" />
741 <xs:element ref="paramref" />
742 <xs:element ref="typeparamref" />
747 <xs:element name="superscript">
749 <xs:attribute name="term" type="xs:string" use="required" />
753 <xs:element name="term">
754 <xs:complexType mixed="true">
755 <xs:choice minOccurs="0" maxOccurs="unbounded">
756 <xs:element ref="block" />
757 <xs:element ref="c" />
758 <xs:element ref="format" />
759 <xs:element ref="geq" />
760 <xs:element ref="leq" />
761 <xs:element ref="see" />
762 <xs:element ref="para" />
763 <xs:element ref="paramref" />
764 <xs:element ref="pi" />
765 <xs:element ref="plusminus" />
766 <xs:element ref="sup" />
767 <xs:element ref="theta" />
768 <xs:element ref="typeparamref" />
769 <xs:element ref="whitespace" />
774 <xs:element name="theta" />
776 <xs:element name="threadsafe">
779 <xs:element ref="para" minOccurs="1" maxOccurs="unbounded" />
784 <xs:element name="ThreadingSafetyStatement">
785 <xs:complexType mixed="true">
787 <xs:element ref="link" minOccurs="0" />
792 <xs:element name="ThreadSafetyStatement">
793 <xs:complexType mixed="true">
795 <xs:element ref="link" minOccurs="0" />
800 <xs:element name="Type">
802 <xs:choice maxOccurs="unbounded">
803 <xs:element ref="TypeSignature" minOccurs="1" />
804 <xs:element ref="MemberOfLibrary" minOccurs="0" />
805 <xs:element ref="AssemblyInfo" minOccurs="1" />
806 <xs:element ref="TypeParameters" minOccurs="0" maxOccurs="1" />
807 <xs:element ref="ThreadingSafetyStatement" minOccurs="0" />
808 <xs:element ref="ThreadSafetyStatement" minOccurs="0" />
809 <xs:element ref="Docs" minOccurs="1" />
810 <xs:element ref="Base" minOccurs="1" />
811 <xs:element ref="Interfaces" minOccurs="1" />
812 <xs:element ref="Attributes" minOccurs="1" />
813 <xs:element ref="Members" minOccurs="1" />
814 <xs:element ref="Parameters" minOccurs="0" />
815 <xs:element ref="ReturnValue" minOccurs="0" />
816 <xs:element ref="TypeExcluded" minOccurs="0" />
818 <xs:attribute ref="Name" use="required" />
819 <xs:attribute ref="FullName" use="required" />
820 <xs:attribute ref="FullNameSP" />
821 <xs:attribute ref="Maintainer" />
825 <xs:element name="Types">
827 <xs:choice minOccurs="1" maxOccurs="unbounded">
828 <xs:element ref="Type" />
830 <xs:attribute ref="Library" use="required" />
834 <xs:element name="typeparam">
835 <xs:complexType mixed="true">
836 <xs:choice minOccurs="0" maxOccurs="unbounded">
837 <xs:element ref="block" />
838 <xs:element ref="c" />
839 <xs:element ref="format" />
840 <xs:element ref="para" />
841 <xs:element ref="paramref" />
842 <xs:element ref="see" />
843 <xs:element ref="typeparamref" />
845 <xs:attribute ref="name" use="required" />
849 <xs:element name="typeparamref">
851 <xs:attribute ref="name" use="required" />
855 <xs:element name="TypeParameters">
857 <xs:choice maxOccurs="unbounded">
858 <xs:element ref="TypeParameter" />
863 <xs:element name="TypeParameter">
864 <xs:complexType mixed="true">
865 <xs:choice minOccurs="0" maxOccurs="unbounded">
866 <xs:element ref="Attributes" />
867 <xs:element ref="Constraints" />
869 <xs:attribute ref="Name" use="required" />
873 <xs:element name="Constraints">
874 <xs:complexType mixed="true">
875 <xs:choice minOccurs="0" maxOccurs="unbounded">
876 <xs:element name="ParameterAttribute" type="xs:string" />
877 <xs:element ref="BaseTypeName" />
878 <xs:element ref="InterfaceName" />
883 <xs:element name="TypeSignature">
885 <xs:attribute ref="Language" use="required" />
886 <xs:attribute ref="Value" use="required" />
887 <xs:attribute ref="Maintainer" />
891 <xs:element name="ul">
894 <xs:element ref="li" minOccurs="1" maxOccurs="unbounded" />
899 <xs:element name="value">
900 <xs:complexType mixed="true">
901 <xs:choice minOccurs="0" maxOccurs="unbounded">
902 <xs:element ref="block" />
903 <xs:element ref="c" />
904 <xs:element ref="para" />
905 <xs:element ref="paramref" />
906 <xs:element ref="see" />
907 <xs:element ref="typeparamref" />
908 <xs:element ref="ul" />
909 <xs:element ref="example" />
910 <xs:element ref="list" />
916 index.xml & namespace-name.xml support
919 <!-- define attributes -->
920 <xs:attribute name="Version" type="xs:string" />
921 <xs:attribute name="DisplayName" type="xs:string" />
922 <xs:attribute name="Kind" type="xs:string" />
924 <!-- define simple elements -->
925 <xs:element name="Title" type="xs:string" />
927 <!-- define complex elements -->
928 <xs:element name="Assemblies">
930 <xs:choice minOccurs="0" maxOccurs="unbounded">
931 <xs:element ref="Assembly" />
936 <xs:element name="Assembly">
938 <xs:choice minOccurs="0" maxOccurs="unbounded">
939 <xs:element ref="AssemblyPublicKey" />
940 <xs:element ref="AssemblyCulture" />
941 <xs:element ref="Attributes" />
943 <xs:attribute ref="Name" />
944 <xs:attribute ref="Version" />
948 <xs:element name="Copyright">
949 <xs:complexType mixed="true">
950 <xs:choice minOccurs="0" maxOccurs="unbounded">
951 <xs:element ref="block" />
952 <xs:element ref="code" />
953 <xs:element ref="example" />
954 <xs:element ref="list" />
955 <xs:element ref="para" />
956 <xs:element ref="paramref" />
957 <xs:element ref="see" />
958 <xs:element ref="typeparamref" />
959 <xs:element ref="ul" />
964 <xs:element name="ExtensionMethods">
967 <xs:element ref="ExtensionMethod" minOccurs="0" maxOccurs="unbounded" />
972 <xs:element name="ExtensionMethod">
975 <xs:element name="Targets" minOccurs="1" maxOccurs="1">
977 <xs:choice minOccurs="1" maxOccurs="unbounded">
978 <xs:element name="Target">
980 <xs:attribute ref="Type" use="required" />
986 <xs:element ref="Member" minOccurs="1" maxOccurs="1" />
991 <xs:element name="Overview">
993 <xs:choice minOccurs="0" maxOccurs="unbounded">
994 <xs:element ref="Assemblies" />
995 <xs:element ref="Copyright" />
996 <xs:element ref="Remarks" />
997 <xs:element ref="Title" />
998 <xs:element name="Types">
1000 <xs:choice minOccurs="0" maxOccurs="unbounded">
1001 <xs:element name="Namespace">
1003 <xs:choice minOccurs="0" maxOccurs="unbounded">
1004 <xs:element name="Type">
1006 <xs:attribute ref="Name" use="required" />
1007 <xs:attribute ref="DisplayName" />
1008 <xs:attribute ref="Kind" />
1012 <xs:attribute ref="Name" />
1018 <xs:element ref="ExtensionMethods" />
1023 <xs:element name="Remarks">
1024 <xs:complexType mixed="true">
1025 <xs:choice minOccurs="0" maxOccurs="unbounded">
1026 <xs:element ref="block" />
1027 <xs:element ref="code" />
1028 <xs:element ref="example" />
1029 <xs:element ref="list" />
1030 <xs:element ref="para" />
1031 <xs:element ref="paramref" />
1032 <xs:element ref="typeparamref" />
1033 <xs:element ref="see" />
1034 <xs:element ref="ul" />
1040 ECMA 335 CLILibraryTypes.xml support
1043 <xs:element name="Libraries">
1045 <xs:choice minOccurs="0" maxOccurs="unbounded">
1046 <xs:element ref="Types" minOccurs = "1" maxOccurs="unbounded" />
1051 <xs:element name="codelink">
1053 <xs:attribute name="SampleID" type="xs:string" />
1054 <xs:attribute name="SnippedID" type="xs:string" />
1058 <xs:element name="filterpriority" type="xs:string" />
1060 <xs:element name="geq" />
1061 <xs:element name="leq" />
1062 <xs:element name="plusminus" />
1063 <xs:element name="whitespace" />
1065 <xs:element name="PermissionSet">
1067 <xs:choice minOccurs="0" maxOccurs="unbounded">
1068 <xs:element name="IPermission">
1070 <xs:attribute name="class" type="xs:string" />
1071 <xs:attribute name="Flags" type="xs:string" />
1072 <xs:attribute name="Name" type="xs:string" />
1073 <xs:attribute name="PathDiscovery" type="xs:string" />
1074 <xs:attribute name="PublicKeyBlob" type="xs:string" />
1075 <xs:attribute name="Read" type="xs:string" />
1076 <xs:attribute name="Unrestricted" type="xs:string" />
1077 <xs:attribute name="version" type="xs:string" />
1078 <xs:attribute name="Window" type="xs:string" />
1086 ECMA 334 Annex E Documentation Comments support.
1089 <xs:element name="seealso">
1092 <xs:extension base="xs:string">
1093 <xs:attribute ref="cref" />
1099 <xs:element name="doc">
1102 <xs:element name="assembly">
1105 <xs:element name="name" type="xs:string" />
1109 <xs:element name="members">
1111 <xs:choice minOccurs="0" maxOccurs="unbounded">>
1112 <xs:element name="member">
1114 <xs:choice minOccurs="0" maxOccurs="unbounded">
1115 <xs:element ref="seealso" />
1116 <xs:element ref="example" />
1117 <xs:element ref="exception" />
1118 <xs:element ref="param" />
1119 <xs:element ref="permission" />
1120 <xs:element ref="PermissionSet" />
1121 <xs:element ref="remarks" />
1122 <xs:element ref="returns" />
1123 <xs:element ref="summary" />
1124 <xs:element ref="threadsafe" />
1125 <xs:element ref="typeparam" />
1126 <xs:element ref="value" />
1128 <xs:attribute name="name" type="xs:type" />