help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

Import Export Schema

 

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Pages" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 <xs:element name="Categories">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="Category" minOccurs="0" maxOccurs="unbounded">
     <xs:complexType>
      <xs:attribute name="path" type="xs:string" />
      <xs:attribute name="direction">
       <xs:simpleType>
        <xs:restriction base="xs:string">
         <xs:enumeration value="Forward"/>
         <xs:enumeration value="Backward"/>
         <xs:enumeration value="Both"/>
        </xs:restriction>
       </xs:simpleType>
      </xs:attribute>
     </xs:complexType>
    </xs:element>
   </xs:sequence>
  </xs:complexType>
 </xs:element>
 <xs:element name="Content">
  <xs:complexType>
   <xs:sequence>
    <xs:group ref="ContentElements" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="placeholder" type="xs:string" use="required"/>
   <xs:attribute name="id" type="xs:integer" />
  </xs:complexType>
 </xs:element>
 <xs:element name="Parameters">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
     <xs:complexType>
      <xs:attribute name="name" type="xs:string" />
      <xs:attribute name="value" type="xs:string" />
     </xs:complexType>
    </xs:element>
   </xs:sequence>
  </xs:complexType>
 </xs:element>
 <xs:attributeGroup name="AxControlAttributes">
  <xs:attribute name="cloneableName" type="xs:string" />
  <xs:attribute name="id" type="xs:integer" />
  <xs:attribute name="templateId" type="xs:integer" />
 </xs:attributeGroup>
 <xs:group name="ContentElements">
  <xs:choice>
   <xs:element name="AxLabel" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType mixed="true">
     <xs:sequence>
      <xs:element ref="Categories" minOccurs="0" maxOccurs="1" />
     </xs:sequence>
     <xs:attributeGroup ref="AxControlAttributes"/>
    </xs:complexType>
   </xs:element>
   <xs:element name="AxImage" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
     <xs:sequence>
      <xs:element ref="Categories" minOccurs="0" maxOccurs="1" />
     </xs:sequence>
     <xs:attribute name="document" type="xs:string" use="required"/>
     <xs:attributeGroup ref="AxControlAttributes"/>
     <xs:attribute name="link" type="xs:string"/>
     <xs:attribute name="tooltip" type="xs:string"/>
     <xs:attribute name="target">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="_blank"/>
        <xs:enumeration value="_top"/>
        <xs:enumeration value="_parent"/>
        <xs:enumeration value="_self"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="track">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="true"/>
        <xs:enumeration value="false"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
    </xs:complexType>
   </xs:element>
   <xs:element name="AxFlashControl" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
     <xs:sequence>
      <xs:element ref="Categories" minOccurs="0" maxOccurs="1" />
     </xs:sequence>
     <xs:attribute name="document" type="xs:string" use="required"/>
     <xs:attribute name="width" type="xs:string" use="required"/>
     <xs:attribute name="height" type="xs:string" use="required"/>
     <xs:attributeGroup ref="AxControlAttributes"/>
     <xs:attribute name="quality">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="low"/>
        <xs:enumeration value="high"/>
        <xs:enumeration value="autolow"/>
        <xs:enumeration value="autohigh"/>
        <xs:enumeration value="medium"/>
        <xs:enumeration value="best"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="align">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="middle"/>
        <xs:enumeration value="l"/>
        <xs:enumeration value="r"/>
        <xs:enumeration value="t"/>
        <xs:enumeration value="b"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="play">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="true"/>
        <xs:enumeration value="false"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="loop">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="true"/>
        <xs:enumeration value="false"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="scale">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="showall"/>
        <xs:enumeration value="noborder"/>
        <xs:enumeration value="exactfit"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="wmode">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="window"/>
        <xs:enumeration value="opaque"/>
        <xs:enumeration value="transparent"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="devicefont">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="true"/>
        <xs:enumeration value="false"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="bgcolor" type="xs:string" />
     <xs:attribute name="menu">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="true"/>
        <xs:enumeration value="false"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="allowscriptaccess">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="Always"/>
        <xs:enumeration value="Never"/>
        <xs:enumeration value="sameDomain"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="salign">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="l"/>
        <xs:enumeration value="r"/>
        <xs:enumeration value="t"/>
        <xs:enumeration value="b"/>
        <xs:enumeration value="tl"/>
        <xs:enumeration value="tr"/>
        <xs:enumeration value="bl"/>
        <xs:enumeration value="br"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
    </xs:complexType>
   </xs:element>
   <xs:element name="AxDynControl" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
     <xs:sequence>
      <xs:element ref="Categories" minOccurs="0" maxOccurs="1" />
      <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" />
     </xs:sequence>
     <xs:attribute name="description" type="xs:string" use="required"/>
     <xs:attributeGroup ref="AxControlAttributes"/>
    </xs:complexType>
   </xs:element>
   <xs:element name="CustomElement" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
     <xs:sequence>
      <xs:element ref="Categories" minOccurs="0" maxOccurs="1"/>
      <xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
      <xs:element ref="Content" minOccurs="0" maxOccurs="unbounded" />
     </xs:sequence>
     <xs:attribute name="behaviour" use="required">
      <xs:simpleType>
       <xs:restriction base="xs:string">
        <xs:enumeration value="Structural"/>
        <xs:enumeration value="Static"/>
        <xs:enumeration value="Dynamic"/>
       </xs:restriction>
      </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="axid" type="xs:string" use="required"/>
     <xs:attributeGroup ref="AxControlAttributes"/>
    </xs:complexType>
   </xs:element>
  </xs:choice>
 </xs:group>
 <xs:element name="Pages" msdata:IsDataSet="true" msdata:Locale="en-US">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="Page" minOccurs="0" maxOccurs="unbounded">
     <xs:complexType>
      <xs:sequence>
       <xs:element ref="Categories" minOccurs="0" maxOccurs="1" />
       <xs:element ref="Content" minOccurs="0" maxOccurs="unbounded" />
       <xs:element name="Properties" minOccurs="0" maxOccurs="1">
        <xs:complexType>
         <xs:sequence>
          <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
           <xs:complexType>
            <xs:attribute name="name" type="xs:string" use="required"/>
            <xs:attribute name="value" type="xs:string" use="required"/>
            <xs:attribute name="subName" type="xs:string" />
           </xs:complexType>
          </xs:element>
         </xs:sequence>
        </xs:complexType>
       </xs:element>
       <xs:element name="Relations" minOccurs="0" maxOccurs="1">
        <xs:complexType>
         <xs:sequence>
          <xs:element name="Relation" minOccurs="0" maxOccurs="unbounded">
           <xs:complexType>
            <xs:attribute name="relationType" type="xs:string" use="required"/>
            <xs:attribute name="elementKey" type="xs:string" use="required"/>
            <xs:attribute name="elementType" type="xs:integer" use="required"/>
           </xs:complexType>
          </xs:element>
         </xs:sequence>
        </xs:complexType>
       </xs:element>
      </xs:sequence>
      <xs:attribute name="name" type="xs:string" use="required"/>
      <xs:attribute name="pageTemplateId" type="xs:string" use="required"/>
      <xs:attribute name="axid" type="xs:integer"/>
     </xs:complexType>
    </xs:element>
   </xs:sequence>
  </xs:complexType>
 </xs:element>
</xs:schema>