Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
hierarchy.xsd207 linesDownload Raw Back to PSMaml
1<?xml version="1.0" encoding="utf-8"?>2<schema targetNamespace="http://schemas.microsoft.com/maml/2004/10" xmlns:doc="http://schemas.microsoft.com/maml/internal" xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all" xml:lang="en">3  <!-- Schema documentation -->4  <annotation>5    <documentation>This schema definition defines common hierarchy types for the Content Studio Schema. This schema is part of the base layer.</documentation>6  </annotation>7  <!-- include and import declarations -->8  <include schemaLocation="structure.xsd"/>9  <element name="reusableContent">10    <annotation>11      <documentation>Describes the content model for the reusableContent content type. A typical reusableContent topic consists of a collection of content that can be shared among multiple documents. Each entry has a unique ID, which facilitates linking. An entry can contain a wide variety of content, ranging from a string to an entire section of a document.</documentation>12    </annotation>13    <complexType>14      <choice minOccurs="0" maxOccurs="unbounded">15        <element name="reusableContentEntry">16          <annotation>17            <documentation>Provides a general container for any MAML content. This content must be in the MAML namespace and conform to the rules specified in the schema. Strict validation is performed on MAML parts.</documentation>18          </annotation>19          <complexType>20            <choice maxOccurs="unbounded">21              <any namespace="##targetNamespace" processContents="strict"/>22            </choice>23            <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>24          </complexType>25        </element>26        <element name="helpBehavior">27          <annotation>28            <documentation>Contains a block of data that defines a Help behavior. The helpBehavior element allows authors to extend standard help behaviors with custom code in the form of .NET assemblies.</documentation>29          </annotation>30          <complexType>31            <sequence>32              <element name="source" minOccurs="0">33                <annotation>34                  <documentation>Specifies a qualified name identifying the assembly to be called.</documentation>35                </annotation>36                <complexType>37                  <attribute name="name" type="string" use="required">38                    <annotation>39                      <documentation>Specifies the name of the assembly.</documentation>40                    </annotation>41                  </attribute>42                </complexType>43              </element>44              <element name="class" minOccurs="0">45                <annotation>46                  <documentation>Identifies the name of the helpBehavior object to invoke the method on.</documentation>47                </annotation>48                <complexType>49                  <attribute name="name" type="string" use="required">50                    <annotation>51                      <documentation>Specifies the name of the class to invoke.</documentation>52                    </annotation>53                  </attribute>54                </complexType>55              </element>56              <element name="method" minOccurs="0">57                <annotation>58                  <documentation>Specifies the name of the assembly method to call, if any.</documentation>59                </annotation>60                <complexType>61                  <attribute name="name" type="string" use="required">62                    <annotation>63                      <documentation>Name of the assembly method to call.</documentation>64                    </annotation>65                  </attribute>66                </complexType>67              </element>68              <element name="params" minOccurs="0">69                <annotation>70                  <documentation>Defines a list of parameters to pass to the target behavior.</documentation>71                </annotation>72                <complexType mixed="true">73                  <choice maxOccurs="unbounded">74                    <annotation>75                      <documentation>Allows the inclusion of XML fragments from any other namespace.</documentation>76                    </annotation>77                    <any namespace="##other" processContents="lax"/>78                  </choice>79                </complexType>80              </element>81            </sequence>82            <attribute name="address" type="ID" use="required">83              <annotation>84                <documentation>Describes the attached content with a unique ID/GUID/URI to reference for purposes such as sharing and hyperlinking.</documentation>85              </annotation>86            </attribute>87            <attribute name="class" type="token">88              <annotation>89                <documentation>Specifies the class of helpBehavior.</documentation>90              </annotation>91            </attribute>92          </complexType>93        </element>94      </choice>95      <attribute name="contentType" type="token">96        <annotation>97          <documentation>Specifies the type of content for the document.</documentation>98        </annotation>99      </attribute>100    </complexType>101  </element>102  <complexType name="sectionContentType">103    <choice minOccurs="0" maxOccurs="unbounded">104      <group ref="maml:structureGroup"/>105    </choice>106    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>107  </complexType>108  <complexType name="sectionType">109    <sequence>110      <element ref="maml:title"/>111      <element ref="maml:subTitle" minOccurs="0"/>112      <element ref="maml:introduction" minOccurs="0"/>113      <group ref="maml:structureGroup" minOccurs="0" maxOccurs="unbounded"/>114    </sequence>115    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>116  </complexType>117  <element name="section">118    <annotation>119      <documentation>Describes a section within a document. The section element supports recursion (in other words, an instance of a section element can have one or more section elements as children). The section element defines the hierarchy of sections within a topic through nesting. Each section corresponds to a heading level in the final, rendered document. For example, the top section is equivalent to the first heading level and a child section of that element would be the second level.</documentation>120    </annotation>121    <complexType>122      <complexContent>123        <extension base="maml:sectionType">124          <sequence>125            <element ref="maml:relatedLinks" minOccurs="0"/>126          </sequence>127          <attributeGroup ref="maml:expandCollapseGroup"/>128        </extension>129      </complexContent>130    </complexType>131  </element>132  <complexType name="sectionsType">133    <choice minOccurs="1" maxOccurs="unbounded">134      <element ref="maml:section"/>135      <element ref="maml:sidebar"/>136      <element ref="maml:pullQuote"/>137    </choice>138    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>139  </complexType>140  <element name="sections" type="maml:sectionsType">141    <annotation>142      <documentation>Contains a collection of section elements. The sections element encloses the major body of the document.</documentation>143    </annotation>144  </element>145  <element name="content">146    <annotation>147      <documentation>Describes a span of authored content.</documentation>148      <appinfo>149        <doc:localizable>n/a</doc:localizable>150      </appinfo>151    </annotation>152    <complexType>153      <group ref="maml:structureGroup" minOccurs="0" maxOccurs="unbounded"/>154      <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>155    </complexType>156  </element>157  <complexType name="relatedLinksType">158    <sequence>159      <element ref="maml:title" minOccurs="0"/>160      <element ref="maml:navigationLink" maxOccurs="unbounded"/>161    </sequence>162    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>163    <attribute name="type" use="optional" default="seeAlso" type="maml:relatedLinksTypeType"/>164  </complexType>165  <simpleType name="relatedLinksTypeType">166    <restriction base="token">167      <enumeration value="seeAlso"/>168      <enumeration value="relatedFiles"/>169      <enumeration value="samples"/>170      <enumeration value="other"/>171    </restriction>172  </simpleType>173  <element name="relatedLinks" type="maml:relatedLinksType">174    <annotation>175      <documentation>Describes a collection of links, typically used for the "Related Topics" section of a document. The purpose of this element is to provide links to topics that may be of further interest to the user.</documentation>176      <appinfo>177        <doc:localizable>n/a</doc:localizable>178      </appinfo>179    </annotation>180  </element>181  <element name="copyright">182    <annotation>183      <documentation>Describes copyright information for a document.</documentation>184    </annotation>185    <complexType>186      <sequence maxOccurs="unbounded">187        <element ref="maml:para"/>188      </sequence>189      <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>190    </complexType>191  </element>192  <!-- complexType declarations -->193  <complexType name="contentTypeType">194    <sequence>195      <element ref="maml:title"/>196      <element ref="maml:subTitle" minOccurs="0"/>197      <element ref="maml:introduction" minOccurs="0"/>198      <element ref="maml:content"/>199      <element ref="maml:alertSet" minOccurs="0"/>200      <element ref="maml:relatedLinks" minOccurs="0"/>201      <element ref="maml:reusableContent" minOccurs="0"/>202      <element ref="maml:copyright" minOccurs="0"/>203    </sequence>204    <attribute name="contentType" type="token"/>205  </complexType>206</schema>207