首页 > 代码库 > VS2013 启用avalon 智能提示 Intelligence

VS2013 启用avalon 智能提示 Intelligence

 

第一步:

          关闭VS2013。

第二步:

          进入目录: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\schemas\html,

          将commonHTML5Types.xsd改个名当备份。

          (如果有commonHTML5Types.bin,刪除 。没有不用管。)

第三步:

          管理员身份打开commonHTML5Types.xsd,考虑到我是VS2013,如果直接copy原作者的VS2012配置文件,就会减少很多2013版独有的特性,所以不管哪版其实只要添加几行就好。

          就是这几行加在<xsd:attributeGroup>之内就好:

    

                <xsd:attribute name="ms-controller" vs:category="Avalon" />                  <xsd:attribute name="ms-include" vs:category="Avalon" />                  <xsd:attribute name="ms-important" vs:category="Avalon" />                  <xsd:attribute name="ms-skip" vs:category="Avalon" />                  <xsd:attribute name="ms-attr" vs:category="Avalon" />                  <xsd:attribute name="ms-css" vs:category="Avalon" />  

  

第四步:

          开启VS,看到结果,成功。

附:最终的配置文档:

<?xml version=1.0 encoding=utf-8 ?><xsd:schema    xmlns:xsd=http://www.w3.org/2001/XMLSchema    xmlns:vs=http://schemas.microsoft.com/Visual-Studio-Intellisense>    <xsd:include schemaLocation="I18Languages.xsd" />    <xsd:import schemaLocation="svg.xsd"/>    <xsd:attributeGroup name="coreServerAttributeGroup">        <!-- Attributes -->        <xsd:attribute name="EnableTheming" type="xsd:boolean" vs:nonbrowseable="true" vs:category="ASP.NET" vs:disallowedonmobilepages="true" default="true" vs:serverattribute="true" />        <xsd:attribute name="EnableViewState" type="xsd:boolean" vs:category="ASP.NET" default="true" vs:serverattribute="true" />        <xsd:attribute name="SkinID" type="xsd:string" vs:nonbrowseable="true" vs:category="ASP.NET" vs:nonfilterable="true" vs:disallowedonmobilepages="true" default="" vs:serverattribute="true" />        <xsd:attribute name="Visible" type="xsd:boolean" vs:category="ASP.NET" default="true" vs:serverattribute="true" />        <!-- Events -->        <xsd:attribute name="OnDataBinding" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnDisposed" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnInit" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnLoad" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnPreRender" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnUnload" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="aServerAttributeGroup">        <xsd:attribute name="OnServerClick" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="buttonServerAttributeGroup">        <xsd:attribute name="CausesValidation" type="xsd:boolean" vs:category="ASP.NET" default="true" vs:serverattribute="true" />        <xsd:attribute name="ValidationGroup" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="OnServerClick" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="formServerAttributeGroup">        <xsd:attribute name="DefaultButton" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="DefaultFocus" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="SubmitDisabledControls" type="xsd:boolean" vs:category="ASP.NET" default="false" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="inputServerAttributeGroup">        <xsd:attribute name="CausesValidation" type="xsd:boolean" vs:inputtype="button image submit" vs:category="ASP.NET" vs:serverattribute="true" />        <xsd:attribute name="OnServerClick" vs:omtype="event" vs:inputtype="button image submit" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="OnServerChange" vs:omtype="event" vs:inputtype="checkbox hidden radio text" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />        <xsd:attribute name="ValidationGroup" type="xsd:string" vs:inputtype="button image submit" vs:category="ASP.NET" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="multipleServerAttributeGroup">        <xsd:attribute name="multiple" type="xsd:boolean" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="selectServerAttributeGroup">        <xsd:attribute name="DataSourceID" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="DataTextField" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="DataValueField" type="xsd:string" vs:category="ASP.NET" default="" vs:serverattribute="true" />        <xsd:attribute name="OnServerChange" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="textareaServerAttributeGroup">        <xsd:attribute name="OnServerChange" vs:omtype="event" vs:category="ASP.NET" vs:nonfilterable="true" vs:serverattribute="true" />    </xsd:attributeGroup>    <xsd:attributeGroup name="commonHTML5coreAttributeGroup">        <xsd:attribute name="runat" vs:readonly="true" vs:nonfilterable="true" vs:serverattribute="true">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"server" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="accesskey" />        <xsd:attribute name="class" />        <xsd:attribute name="contextmenu" />        <xsd:attribute name="dir" default="ltr">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"auto" />                    <xsd:enumeration value=http://www.mamicode.com/"ltr" />                    <xsd:enumeration value=http://www.mamicode.com/"rtl" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>                 <xsd:attribute name="ms-controller" vs:category="Avalon" />                   <xsd:attribute name="ms-include" vs:category="Avalon" />                  <xsd:attribute name="ms-important" vs:category="Avalon" />                  <xsd:attribute name="ms-skip" vs:category="Avalon" />                  <xsd:attribute name="ms-attr" vs:category="Avalon" />                  <xsd:attribute name="ms-css" vs:category="Avalon" />                   <xsd:attribute name="ms-text" vs:category="Avalon" />                   <xsd:attribute name="ms-html" vs:category="Avalon" />                  <xsd:attribute name="ms-class" vs:category="Avalon" />                   <xsd:attribute name="ms-active" vs:category="Avalon" />                   <xsd:attribute name="ms-hover" vs:category="Avalon" />                  <xsd:attribute name="ms-if" vs:category="Avalon" />                   <xsd:attribute name="ms-visible" vs:category="Avalon" />                   <xsd:attribute name="ms-for" vs:category="Avalon" />                  <xsd:attribute name="ms-on" vs:category="Avalon" />                   <xsd:attribute name="ms-mouseenter" vs:category="Avalon" />                   <xsd:attribute name="ms-mouseleave" vs:category="Avalon" />                   <xsd:attribute name="ms-on-input" vs:category="Avalon" />                   <xsd:attribute name="ms-click" vs:category="Avalon" />                   <xsd:attribute name="ms-on-mouseenter-3" vs:category="Avalon" />                   <xsd:attribute name="ms-on-mouseenter-2" vs:category="Avalon" />                   <xsd:attribute name="ms-on-mouseenter-1" vs:category="Avalon" />                   <xsd:attribute name="ms-on-mousewheel" vs:category="Avalon" />                   <xsd:attribute name="ms-duplex" vs:category="Avalon" />                   <xsd:attribute name="ms-duplex-checked" vs:category="Avalon" />                   <xsd:attribute name="ms-duplex-string" vs:category="Avalon" />                   <xsd:attribute name="ms-duplex-number" vs:category="Avalon" />                   <xsd:attribute name="ms-duplex-boolean" vs:category="Avalon" />                   <xsd:attribute name="ms-validate" vs:category="Avalon" />                   <xsd:attribute name="ms-rules" vs:category="Avalon" />                   <xsd:attribute name="data-duplex-changed" vs:category="Avalon" />                   <xsd:attribute name="ms-effect" vs:category="Avalon" />                   <xsd:attribute name="ms-widget" vs:category="Avalon" />                          <xsd:attribute name="data-" vs:readonly="true" />        <xsd:attribute name="data-win-control" vs:requiredprojectcapabilities="WindowsAppContainer" vs:datawincontrol="true" />        <xsd:attribute name="data-win-options" vs:requiredprojectcapabilities="WindowsAppContainer" />        <xsd:attribute name="data-win-bind" vs:requiredprojectcapabilities="WindowsAppContainer" />        <xsd:attribute name="data-win-bindsource" vs:requiredprojectcapabilities="WindowsAppContainer" />        <xsd:attribute name="data-win-res" vs:requiredprojectcapabilities="WindowsAppContainer" />        <xsd:attribute name="dropzone" />        <xsd:attribute name="id" vs:renametype="classmember" />        <xsd:attribute name="hidden" vs:standalone="true">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"hidden" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="lang" type="i18LanguageCode" />        <xsd:attribute name="role">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"alert" />                    <xsd:enumeration value=http://www.mamicode.com/"alertdialog" />                    <xsd:enumeration value=http://www.mamicode.com/"application" />                    <xsd:enumeration value=http://www.mamicode.com/"article" />                    <xsd:enumeration value=http://www.mamicode.com/"banner" />                    <xsd:enumeration value=http://www.mamicode.com/"button" />                    <xsd:enumeration value=http://www.mamicode.com/"checkbox" />                    <xsd:enumeration value=http://www.mamicode.com/"columnheader" />                    <xsd:enumeration value=http://www.mamicode.com/"combobox" />                    <xsd:enumeration value=http://www.mamicode.com/"complementary" />                    <xsd:enumeration value=http://www.mamicode.com/"contentinfo" />                    <xsd:enumeration value=http://www.mamicode.com/"definition" />                    <xsd:enumeration value=http://www.mamicode.com/"dialog" />                    <xsd:enumeration value=http://www.mamicode.com/"directory" />                    <xsd:enumeration value=http://www.mamicode.com/"document" />                    <xsd:enumeration value=http://www.mamicode.com/"form" />                    <xsd:enumeration value=http://www.mamicode.com/"grid" />                    <xsd:enumeration value=http://www.mamicode.com/"gridcell" />                    <xsd:enumeration value=http://www.mamicode.com/"group" />                    <xsd:enumeration value=http://www.mamicode.com/"heading" />                    <xsd:enumeration value=http://www.mamicode.com/"img" />                    <xsd:enumeration value=http://www.mamicode.com/"link" />                    <xsd:enumeration value=http://www.mamicode.com/"list" />                    <xsd:enumeration value=http://www.mamicode.com/"listbox" />                    <xsd:enumeration value=http://www.mamicode.com/"listitem" />                    <xsd:enumeration value=http://www.mamicode.com/"log" />                    <xsd:enumeration value=http://www.mamicode.com/"main" />                    <xsd:enumeration value=http://www.mamicode.com/"marquee" />                    <xsd:enumeration value=http://www.mamicode.com/"math" />                    <xsd:enumeration value=http://www.mamicode.com/"menu" />                    <xsd:enumeration value=http://www.mamicode.com/"menubar" />                    <xsd:enumeration value=http://www.mamicode.com/"menuitem" />                    <xsd:enumeration value=http://www.mamicode.com/"menuitemcheckbox" />                    <xsd:enumeration value=http://www.mamicode.com/"menuitemradio" />                    <xsd:enumeration value=http://www.mamicode.com/"navigation" />                    <xsd:enumeration value=http://www.mamicode.com/"note" />                    <xsd:enumeration value=http://www.mamicode.com/"option" />                    <xsd:enumeration value=http://www.mamicode.com/"presentation" />                    <xsd:enumeration value=http://www.mamicode.com/"progressbar" />                    <xsd:enumeration value=http://www.mamicode.com/"radio" />                    <xsd:enumeration value=http://www.mamicode.com/"radiogroup" />                    <xsd:enumeration value=http://www.mamicode.com/"region" />                    <xsd:enumeration value=http://www.mamicode.com/"row" />                    <xsd:enumeration value=http://www.mamicode.com/"rowgroup" />                    <xsd:enumeration value=http://www.mamicode.com/"rowheader" />                    <xsd:enumeration value=http://www.mamicode.com/"scrollbar" />                    <xsd:enumeration value=http://www.mamicode.com/"search" />                    <xsd:enumeration value=http://www.mamicode.com/"separator" />                    <xsd:enumeration value=http://www.mamicode.com/"slider" />                    <xsd:enumeration value=http://www.mamicode.com/"spinbutton" />                    <xsd:enumeration value=http://www.mamicode.com/"status" />                    <xsd:enumeration value=http://www.mamicode.com/"tab" />                    <xsd:enumeration value=http://www.mamicode.com/"tablist" />                    <xsd:enumeration value=http://www.mamicode.com/"tabpanel" />                    <xsd:enumeration value=http://www.mamicode.com/"textbox" />                    <xsd:enumeration value=http://www.mamicode.com/"timer" />                    <xsd:enumeration value=http://www.mamicode.com/"toolbar" />                    <xsd:enumeration value=http://www.mamicode.com/"tooltip" />                    <xsd:enumeration value=http://www.mamicode.com/"tree" />                    <xsd:enumeration value=http://www.mamicode.com/"treegrid" />                    <xsd:enumeration value=http://www.mamicode.com/"treeitem" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="style" vs:builder="style" />        <xsd:attribute name="tabIndex" />        <xsd:attribute name="title" />        <xsd:attribute name="translate">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"yes" />                    <xsd:enumeration value=http://www.mamicode.com/"no" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>    </xsd:attributeGroup>    <xsd:attributeGroup name="microdataAttributeGroup">        <xsd:attribute name="itemscope" vs:standalone="true" />        <xsd:attribute name="itemtype">            <xsd:simpleType>                <xsd:union>                    <xsd:simpleType>                        <xsd:restriction base="xsd:anyURI">                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Article" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/BlogPosting" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Blog" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Book" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Movie" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Photograph" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Review" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Event" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Organization" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Person" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Place" />                            <xsd:enumeration value=http://www.mamicode.com/"http://schema.org/Product" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Event" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Organization" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Person" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Product" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Review" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Breadcrumb" />                            <xsd:enumeration value=http://www.mamicode.com/"http://data-vocabulary.org/Offer" />                        </xsd:restriction>                    </xsd:simpleType>                    <xsd:simpleType>                        <xsd:restriction base="xsd:anyURI" />                    </xsd:simpleType>                </xsd:union>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="itemprop" />        <xsd:attribute name="itemref" />        <xsd:attribute name="itemid" />    </xsd:attributeGroup>    <xsd:attributeGroup name="commonHTML5ariaAttributeGroup">        <xsd:attribute name="aria-activedescendant" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-atomic" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-autocomplete" default="none" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"inline" />                    <xsd:enumeration value=http://www.mamicode.com/"list" />                    <xsd:enumeration value=http://www.mamicode.com/"both" />                    <xsd:enumeration value=http://www.mamicode.com/"none" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-busy" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-checked" default="undefined" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"true" />                    <xsd:enumeration value=http://www.mamicode.com/"false" />                    <xsd:enumeration value=http://www.mamicode.com/"mixed" />                    <xsd:enumeration value=http://www.mamicode.com/"undefined" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-controls" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-describedby" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-disabled" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-dropeffect" default="none" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"copy" />                    <xsd:enumeration value=http://www.mamicode.com/"move" />                    <xsd:enumeration value=http://www.mamicode.com/"link" />                    <xsd:enumeration value=http://www.mamicode.com/"execute" />                    <xsd:enumeration value=http://www.mamicode.com/"popup" />                    <xsd:enumeration value=http://www.mamicode.com/"none" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-expanded" default="undefined" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"true" />                    <xsd:enumeration value=http://www.mamicode.com/"false" />                    <xsd:enumeration value=http://www.mamicode.com/"undefined" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-flowto" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-grabbed" default="undefined" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"true" />                    <xsd:enumeration value=http://www.mamicode.com/"false" />                    <xsd:enumeration value=http://www.mamicode.com/"undefined" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-haspopup" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-hidden" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-label" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-labelledby" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-level" type="xsd:integer" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-live" default="off" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"off" />                    <xsd:enumeration value=http://www.mamicode.com/"polite" />                    <xsd:enumeration value=http://www.mamicode.com/"assertive" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-multiline" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-multiselectable" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-orientation" default="horizontal" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"vertical" />                    <xsd:enumeration value=http://www.mamicode.com/"horizontal" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-owns" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-posinset" type="xsd:integer" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-pressed" default="undefined" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"true" />                    <xsd:enumeration value=http://www.mamicode.com/"false" />                    <xsd:enumeration value=http://www.mamicode.com/"mixed" />                    <xsd:enumeration value=http://www.mamicode.com/"undefined" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-readonly" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-relevant" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"additions" />                    <xsd:enumeration value=http://www.mamicode.com/"removals" />                    <xsd:enumeration value=http://www.mamicode.com/"text" />                    <xsd:enumeration value=http://www.mamicode.com/"all" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-required" type="xsd:boolean" default="false" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-selected" default="undefined" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"true" />                    <xsd:enumeration value=http://www.mamicode.com/"false" />                    <xsd:enumeration value=http://www.mamicode.com/"undefined" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-setsize" type="xsd:integer" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-sort" default="none" vs:category="WAI-ARIA">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"ascending" />                    <xsd:enumeration value=http://www.mamicode.com/"descending" />                    <xsd:enumeration value=http://www.mamicode.com/"none" />                    <xsd:enumeration value=http://www.mamicode.com/"other" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="aria-valuemax" type="xsd:float" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-valuemin" type="xsd:float" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-valuenow" type="xsd:float" vs:category="WAI-ARIA" />        <xsd:attribute name="aria-valuetext" vs:category="WAI-ARIA" />    </xsd:attributeGroup>    <xsd:attributeGroup name="commonHTML5commonEventsGroup">        <xsd:attribute name="onabort" vs:omtype="event" />        <xsd:attribute name="onblur" vs:omtype="event" />        <xsd:attribute name="oncancel" vs:omtype="event" />        <xsd:attribute name="oncanplay" vs:omtype="event" />        <xsd:attribute name="oncanplaythrough" vs:omtype="event" />        <xsd:attribute name="onchange" vs:omtype="event" />        <xsd:attribute name="onclick" vs:omtype="event" />        <xsd:attribute name="onclose" vs:omtype="event" />        <xsd:attribute name="oncontextmenu" vs:omtype="event" />        <xsd:attribute name="oncuechange" vs:omtype="event" />        <xsd:attribute name="ondblclick" vs:omtype="event" />        <xsd:attribute name="ondrag" vs:omtype="event" />        <xsd:attribute name="ondragend" vs:omtype="event" />        <xsd:attribute name="ondragenter" vs:omtype="event" />        <xsd:attribute name="ondragleave" vs:omtype="event" />        <xsd:attribute name="ondragover" vs:omtype="event" />        <xsd:attribute name="ondragstart" vs:omtype="event" />        <xsd:attribute name="ondrop" vs:omtype="event" />        <xsd:attribute name="ondurationchange" vs:omtype="event" />        <xsd:attribute name="onemptied" vs:omtype="event" />        <xsd:attribute name="onended" vs:omtype="event" />        <xsd:attribute name="onerror" vs:omtype="event" />        <xsd:attribute name="onfocus" vs:omtype="event" />        <xsd:attribute name="oninput" vs:omtype="event" />        <xsd:attribute name="oninvalid" vs:omtype="event" />        <xsd:attribute name="onkeydown" vs:omtype="event" />        <xsd:attribute name="onkeypress" vs:omtype="event" />        <xsd:attribute name="onkeyup" vs:omtype="event" />        <xsd:attribute name="onload" vs:omtype="event" />        <xsd:attribute name="onloadeddata" vs:omtype="event" />        <xsd:attribute name="onloadedmetadata" vs:omtype="event" />        <xsd:attribute name="onloadstart" vs:omtype="event" />        <xsd:attribute name="onmousedown" vs:omtype="event" />        <xsd:attribute name="onmousemove" vs:omtype="event" />        <xsd:attribute name="onmouseout" vs:omtype="event" />        <xsd:attribute name="onmouseover" vs:omtype="event" />        <xsd:attribute name="onmouseup" vs:omtype="event" />        <xsd:attribute name="onmousewheel" vs:omtype="event" />        <xsd:attribute name="onpause" vs:omtype="event" />        <xsd:attribute name="onplay" vs:omtype="event" />        <xsd:attribute name="onplaying" vs:omtype="event" />        <xsd:attribute name="onprogress" vs:omtype="event" />        <xsd:attribute name="onratechange" vs:omtype="event" />        <xsd:attribute name="onreadystatechange" vs:omtype="event" />        <xsd:attribute name="onreset" vs:omtype="event" />        <xsd:attribute name="onscroll" vs:omtype="event" />        <xsd:attribute name="onseeked" vs:omtype="event" />        <xsd:attribute name="onseeking" vs:omtype="event" />        <xsd:attribute name="onselect" vs:omtype="event" />        <xsd:attribute name="onshow" vs:omtype="event" />        <xsd:attribute name="onstalled" vs:omtype="event" />        <xsd:attribute name="onsubmit" vs:omtype="event" />        <xsd:attribute name="onsuspend" vs:omtype="event" />        <xsd:attribute name="ontimeupdate" vs:omtype="event" />        <xsd:attribute name="onvolumechange" vs:omtype="event" />        <xsd:attribute name="onwaiting" vs:omtype="event" />    </xsd:attributeGroup>    <xsd:attributeGroup name="mediaAttributeGroup">        <xsd:attribute name="src" type="xsd:anyURI" />        <xsd:attribute name="preload">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"none"/>                    <xsd:enumeration value=http://www.mamicode.com/"metadata"/>                    <xsd:enumeration value=http://www.mamicode.com/"auto"/>                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="autoplay" vs:standalone="true">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"autoplay" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="loop" vs:standalone="true">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"loop" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="controls" vs:standalone="true">            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"controls" />                </xsd:restriction>            </xsd:simpleType>        </xsd:attribute>        <xsd:attribute name="mediagroup" />        <xsd:attribute name="muted" vs:standalone="true" />    </xsd:attributeGroup>    <xsd:simpleType name="metaHttpEquivType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"content-language" />                    <xsd:enumeration value=http://www.mamicode.com/"content-type" />                    <xsd:enumeration value=http://www.mamicode.com/"default-style" />                    <xsd:enumeration value=http://www.mamicode.com/"refresh" />                    <xsd:enumeration value=http://www.mamicode.com/"set-cookie" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="metaNameType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"application-name" />                    <xsd:enumeration value=http://www.mamicode.com/"author" />                    <xsd:enumeration value=http://www.mamicode.com/"description" />                    <xsd:enumeration value=http://www.mamicode.com/"generator" />                    <xsd:enumeration value=http://www.mamicode.com/"keywords" />                    <xsd:enumeration value=http://www.mamicode.com/"viewport" />                    <xsd:enumeration value=http://www.mamicode.com/"image" />                    <xsd:enumeration value=http://www.mamicode.com/"thumbnail" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-itunes-app" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-ID" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-PackageFamilyName" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-Arguments" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-MinVersion" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-OptOut" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-Badge" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-TileImage" />                    <xsd:enumeration value=http://www.mamicode.com/"msApplication-TileColor" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="charsetType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"euc-jp" />                    <xsd:enumeration value=http://www.mamicode.com/"iso-8859-1" />                    <xsd:enumeration value=http://www.mamicode.com/"iso-8859-2" />                    <xsd:enumeration value=http://www.mamicode.com/"iso-8859-15" />                    <xsd:enumeration value=http://www.mamicode.com/"windows-1251" />                    <xsd:enumeration value=http://www.mamicode.com/"windows-1252" />                    <xsd:enumeration value=http://www.mamicode.com/"us-ascii" />                    <xsd:enumeration value=http://www.mamicode.com/"utf-8" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="styleTypeType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"text/css" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="scriptTypeType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"text/javascript" />                    <xsd:enumeration value=http://www.mamicode.com/"text/html" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-handlebars" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-handlebars-template" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-jsrender" />                    <xsd:enumeration value=http://www.mamicode.com/"text/template" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-jquery-tmpl" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="olReversedType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"reversed" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="imgIsmapType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"ismap" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="imgBorderType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"0" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="iframeSandboxType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"allow-same-origin" />                    <xsd:enumeration value=http://www.mamicode.com/"allow-top-navigation" />                    <xsd:enumeration value=http://www.mamicode.com/"allow-forms" />                    <xsd:enumeration value=http://www.mamicode.com/"allow-scripts" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="iframeSeamlessType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"seamless" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="detailsOpenType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"open" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="commandTypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"command" />            <xsd:enumeration value=http://www.mamicode.com/"checkbox" />            <xsd:enumeration value=http://www.mamicode.com/"radio" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="disabledType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"disabled" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="checkedType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"checked" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="menuTypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"context" />            <xsd:enumeration value=http://www.mamicode.com/"toolbar" />            <xsd:enumeration value=http://www.mamicode.com/"list" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="trackKindType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"subtitles" />            <xsd:enumeration value=http://www.mamicode.com/"captions" />            <xsd:enumeration value=http://www.mamicode.com/"descriptions" />            <xsd:enumeration value=http://www.mamicode.com/"chapters" />            <xsd:enumeration value=http://www.mamicode.com/"metadata" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="autocompleteType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"on" />            <xsd:enumeration value=http://www.mamicode.com/"off" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="enctypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"multipart/form-data" />            <xsd:enumeration value=http://www.mamicode.com/"application/x-www-form-urlencoded" />            <xsd:enumeration value=http://www.mamicode.com/"text/plain" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="formmethodType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"get" />            <xsd:enumeration value=http://www.mamicode.com/"post" />            <xsd:enumeration value=http://www.mamicode.com/"put" />            <xsd:enumeration value=http://www.mamicode.com/"delete" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="formNovalidateType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"novalidate" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="inputTypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"button" />            <xsd:enumeration value=http://www.mamicode.com/"checkbox" />            <xsd:enumeration value=http://www.mamicode.com/"color" />            <xsd:enumeration value=http://www.mamicode.com/"date" />            <xsd:enumeration value=http://www.mamicode.com/"datetime" />            <xsd:enumeration value=http://www.mamicode.com/"datetime-local" />            <xsd:enumeration value=http://www.mamicode.com/"email" />            <xsd:enumeration value=http://www.mamicode.com/"file" />            <xsd:enumeration value=http://www.mamicode.com/"hidden" />            <xsd:enumeration value=http://www.mamicode.com/"image" />            <xsd:enumeration value=http://www.mamicode.com/"month" />            <xsd:enumeration value=http://www.mamicode.com/"number" />            <xsd:enumeration value=http://www.mamicode.com/"password" />            <xsd:enumeration value=http://www.mamicode.com/"radio" />            <xsd:enumeration value=http://www.mamicode.com/"range" />            <xsd:enumeration value=http://www.mamicode.com/"reset" />            <xsd:enumeration value=http://www.mamicode.com/"search" />            <xsd:enumeration value=http://www.mamicode.com/"submit" />            <xsd:enumeration value=http://www.mamicode.com/"text" />            <xsd:enumeration value=http://www.mamicode.com/"tel" />            <xsd:enumeration value=http://www.mamicode.com/"time" />            <xsd:enumeration value=http://www.mamicode.com/"url" />            <xsd:enumeration value=http://www.mamicode.com/"week" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="inputFormnovalidateType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"formnovalidate" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="buttonTypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"button" />            <xsd:enumeration value=http://www.mamicode.com/"reset" />            <xsd:enumeration value=http://www.mamicode.com/"submit" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="optionSelectedType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"selected" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="autofocusType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"autofocus" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="textareaReadonlyType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"readonly" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="textareaWrapType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"hard" />            <xsd:enumeration value=http://www.mamicode.com/"soft" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="keygenKeytypeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"rsa" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="areaShapeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"rect" />            <xsd:enumeration value=http://www.mamicode.com/"circle" />            <xsd:enumeration value=http://www.mamicode.com/"poly" />            <xsd:enumeration value=http://www.mamicode.com/"default" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="tableBorderType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"0" />            <xsd:enumeration value=http://www.mamicode.com/"1" />        </xsd:restriction>    </xsd:simpleType>    <xsd:simpleType name="thScopeType">        <xsd:restriction base="xsd:NMTOKEN">            <xsd:enumeration value=http://www.mamicode.com/"auto" />            <xsd:enumeration value=http://www.mamicode.com/"col" />            <xsd:enumeration value=http://www.mamicode.com/"colgroup" />            <xsd:enumeration value=http://www.mamicode.com/"row" />            <xsd:enumeration value=http://www.mamicode.com/"rowgroup" />        </xsd:restriction>    </xsd:simpleType>    <!-- XDR datatype derivations -->    <xsd:simpleType name="mediaType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"screen" />                    <xsd:enumeration value=http://www.mamicode.com/"print" />                    <xsd:enumeration value=http://www.mamicode.com/"tty" />                    <xsd:enumeration value=http://www.mamicode.com/"tv" />                    <xsd:enumeration value=http://www.mamicode.com/"projection" />                    <xsd:enumeration value=http://www.mamicode.com/"handheld" />                    <xsd:enumeration value=http://www.mamicode.com/"braille" />                    <xsd:enumeration value=http://www.mamicode.com/"aural" />                    <xsd:enumeration value=http://www.mamicode.com/"all" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="mediaMimeType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"video/mpeg" />                    <xsd:enumeration value=http://www.mamicode.com/"video/mp4" />                    <xsd:enumeration value=http://www.mamicode.com/"video/3gpp" />                    <xsd:enumeration value=http://www.mamicode.com/"video/ogg" />                    <xsd:enumeration value=http://www.mamicode.com/"video/webm" />                    <xsd:enumeration value=http://www.mamicode.com/"video/m4v" />                    <xsd:enumeration value=http://www.mamicode.com/"video/x-ms-wmv" />                    <xsd:enumeration value=http://www.mamicode.com/"video/quicktime" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/ogg" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/mp3" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/mp4" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/vnd.wave" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/x-ms-wma" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/vorbis" />                    <xsd:enumeration value=http://www.mamicode.com/"audio/vnd.rn-realaudio" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="anchorLinkType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"alternate" />                    <xsd:enumeration value=http://www.mamicode.com/"archives" />                    <xsd:enumeration value=http://www.mamicode.com/"author" />                    <xsd:enumeration value=http://www.mamicode.com/"bookmark" />                    <xsd:enumeration value=http://www.mamicode.com/"canonical" />                    <xsd:enumeration value=http://www.mamicode.com/"external" />                    <xsd:enumeration value=http://www.mamicode.com/"first" />                    <xsd:enumeration value=http://www.mamicode.com/"help" />                    <xsd:enumeration value=http://www.mamicode.com/"index" />                    <xsd:enumeration value=http://www.mamicode.com/"last" />                    <xsd:enumeration value=http://www.mamicode.com/"license" />                    <xsd:enumeration value=http://www.mamicode.com/"next" />                    <xsd:enumeration value=http://www.mamicode.com/"nofollow" />                    <xsd:enumeration value=http://www.mamicode.com/"noreferrer"/>                    <xsd:enumeration value=http://www.mamicode.com/"prefetch" />                    <xsd:enumeration value=http://www.mamicode.com/"prev" />                    <xsd:enumeration value=http://www.mamicode.com/"search" />                    <xsd:enumeration value=http://www.mamicode.com/"sidebar" />                    <xsd:enumeration value=http://www.mamicode.com/"tag" />                    <xsd:enumeration value=http://www.mamicode.com/"up" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="linkLinkType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"alternate" />                    <xsd:enumeration value=http://www.mamicode.com/"archives" />                    <xsd:enumeration value=http://www.mamicode.com/"author" />                    <xsd:enumeration value=http://www.mamicode.com/"first" />                    <xsd:enumeration value=http://www.mamicode.com/"help" />                    <xsd:enumeration value=http://www.mamicode.com/"icon" />                    <xsd:enumeration value=http://www.mamicode.com/"index" />                    <xsd:enumeration value=http://www.mamicode.com/"last" />                    <xsd:enumeration value=http://www.mamicode.com/"license" />                    <xsd:enumeration value=http://www.mamicode.com/"next" />                    <xsd:enumeration value=http://www.mamicode.com/"pingback" />                    <xsd:enumeration value=http://www.mamicode.com/"prefetch" />                    <xsd:enumeration value=http://www.mamicode.com/"prev" />                    <xsd:enumeration value=http://www.mamicode.com/"search" />                    <xsd:enumeration value=http://www.mamicode.com/"stylesheet" />                    <xsd:enumeration value=http://www.mamicode.com/"sidebar" />                    <xsd:enumeration value=http://www.mamicode.com/"tag" />                    <xsd:enumeration value=http://www.mamicode.com/"up" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-touch-icon" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-touch-icon-precomposed" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-touch-startup-image" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-mobile-web-app-capable" />                    <xsd:enumeration value=http://www.mamicode.com/"apple-mobile-web-app-status-bar-style" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="browsingContext">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:NMTOKEN">                    <xsd:enumeration value=http://www.mamicode.com/"_blank" />                    <xsd:enumeration value=http://www.mamicode.com/"_parent" />                    <xsd:enumeration value=http://www.mamicode.com/"_self" />                    <xsd:enumeration value=http://www.mamicode.com/"_top" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="contentType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"html/sandboxed" />                    <xsd:enumeration value=http://www.mamicode.com/"text/css" />                    <xsd:enumeration value=http://www.mamicode.com/"text/html" />                    <xsd:enumeration value=http://www.mamicode.com/"text/javascript" />                    <xsd:enumeration value=http://www.mamicode.com/"text/plain" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-component" />                    <xsd:enumeration value=http://www.mamicode.com/"text/x-html-insertion" />                    <xsd:enumeration value=http://www.mamicode.com/"text/xml" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType>    <xsd:simpleType name="simpleContentType">        <xsd:union>            <xsd:simpleType>                <xsd:restriction base="xsd:string">                    <xsd:enumeration value=http://www.mamicode.com/"text/asp" />                    <xsd:enumeration value=http://www.mamicode.com/"text/asa" />                    <xsd:enumeration value=http://www.mamicode.com/"text/html" />                    <xsd:enumeration value=http://www.mamicode.com/"text/plain" />                    <xsd:enumeration value=http://www.mamicode.com/"text/xml" />                </xsd:restriction>            </xsd:simpleType>            <xsd:simpleType>                <xsd:restriction base="xsd:string" />            </xsd:simpleType>        </xsd:union>    </xsd:simpleType></xsd:schema>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

参考文章:

http://blog.csdn.net/jolinxia/article/details/43969203

VS2013 启用avalon 智能提示 Intelligence