svg:viewType

Complex Type Information

Model

Children: desc, metadata, title

Attributes

QName Type Fixed Default Use Inheritable Annotation
base optional
externalResourcesRequired boolean optional
id ID optional
preserveAspectRatio svg:PreserveAspectRatioSpecType xMidYMid meet optional
viewBox svg:ViewBoxSpecType optional
viewTarget string optional
zoomAndPan restriction of string magnify optional

Used By

Element svg:view

Source

<complexType name="viewType">
  <group ref="svg:descTitleMetadata" minOccurs="0"/>
  <attributeGroup ref="svg:stdAttrs"/>
  <attribute name="externalResourcesRequired" type="boolean" use="optional"/>
  <attribute name="viewBox" type="svg:ViewBoxSpecType" use="optional"/>
  <attribute name="preserveAspectRatio" type="svg:PreserveAspectRatioSpecType" default="xMidYMid meet"/>
  <attribute name="zoomAndPan" default="magnify">
    <simpleType>
      <restriction base="string">
        <enumeration value="disable"/>
        <enumeration value="magnify"/>
        <enumeration value="zoom"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="viewTarget" type="string" use="optional"/>
</complexType>