# rules element

For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library at VML Reference.

## Usage

    <rules
    	start="tfType"
    	end="tfType"
    	idref="xsd:string"
    	connectloc="xsd:int"
    	id="xsd:string"
    	type="xsd:string"
    	how="xsd:string"
    	idref="xsd:string"
    	v:ext="[external type]"
    />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:office
Schema name | Common Properties

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
shapelayout | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library.

### Child Elements

Element | Description
--- | ---
r | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library.
proxy | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
start | tfType | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | t f
end | tfType | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | t f
idref | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
connectloc | xsd:int | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
id | xsd:string | required | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
type | Anonymous | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | arc callout connector align
how | Anonymous | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | top middle bottom left center right
idref | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
v:ext | external ref | optional | See external namespace. | See external namespace.

## Definition

    <xsd:element name="rules" minOccurs="0" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="r" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="proxy" minOccurs="0" maxOccurs="unbounded">
                  <xsd:complexType>
                    <xsd:attribute name="start" type="tfType" use="optional" default="f"></xsd:attribute>
                    <xsd:attribute name="end" type="tfType" use="optional" default="f"></xsd:attribute>
                    <xsd:attribute name="idref" type="xsd:string" use="optional"></xsd:attribute>
                    <xsd:attribute name="connectloc" type="xsd:int" use="optional"></xsd:attribute>
                  </xsd:complexType>
                </xsd:element>
              </xsd:sequence>
              <xsd:attribute name="id" type="xsd:string" use="required"></xsd:attribute>
              <xsd:attribute name="type" use="optional">
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:enumeration value="arc"></xsd:enumeration>
                    <xsd:enumeration value="callout"></xsd:enumeration>
                    <xsd:enumeration value="connector"></xsd:enumeration>
                    <xsd:enumeration value="align"></xsd:enumeration>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:attribute>
              <xsd:attribute name="how" use="optional">
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:enumeration value="top"></xsd:enumeration>
                    <xsd:enumeration value="middle"></xsd:enumeration>
                    <xsd:enumeration value="bottom"></xsd:enumeration>
                    <xsd:enumeration value="left"></xsd:enumeration>
                    <xsd:enumeration value="center"></xsd:enumeration>
                    <xsd:enumeration value="right"></xsd:enumeration>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:attribute>
              <xsd:attribute name="idref" type="xsd:string" use="optional"></xsd:attribute>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
        <xsd:attribute ref="v:ext" use="optional"></xsd:attribute>
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp