p:viewport

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
match required
name xs:NMTOKEN optional
use-when optional
xml:base xs:anyURI optional
See http://www.w3.org/TR/xmlbase/ for
information about this attribute.
xml:id xs:ID optional
See http://www.w3.org/TR/xml-id/ for
information about this attribute.

Used By

Source

<xs:element name="viewport">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="p:documentation"/>
        <xs:element ref="p:pipeinfo"/>
      </xs:choice>
      <xs:sequence minOccurs="0">
        <xs:element ref="p:viewport-source"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="p:documentation"/>
          <xs:element ref="p:pipeinfo"/>
        </xs:choice>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element ref="p:output"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="p:documentation"/>
          <xs:element ref="p:pipeinfo"/>
        </xs:choice>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element ref="p:log"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="p:documentation"/>
          <xs:element ref="p:pipeinfo"/>
        </xs:choice>
      </xs:sequence>
      <xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="p:variable"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="p:documentation"/>
            <xs:element ref="p:pipeinfo"/>
          </xs:choice>
        </xs:sequence>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="p:for-each"/>
            <xs:element ref="p:viewport"/>
            <xs:element ref="p:choose"/>
            <xs:element ref="p:group"/>
            <xs:element ref="p:try"/>
            <xs:choice>
              <xs:element ref="p:add-attribute"/>
              <xs:element ref="p:add-xml-base"/>
              <xs:element ref="p:compare"/>
              <xs:element ref="p:count"/>
              <xs:element ref="p:delete"/>
              <xs:element ref="p:directory-list"/>
              <xs:element ref="p:error"/>
              <xs:element ref="p:escape-markup"/>
              <xs:element ref="p:filter"/>
              <xs:element ref="p:http-request"/>
              <xs:element ref="p:identity"/>
              <xs:element ref="p:insert"/>
              <xs:element ref="p:label-elements"/>
              <xs:element ref="p:load"/>
              <xs:element ref="p:make-absolute-uris"/>
              <xs:element ref="p:namespace-rename"/>
              <xs:element ref="p:pack"/>
              <xs:element ref="p:parameters"/>
              <xs:element ref="p:rename"/>
              <xs:element ref="p:replace"/>
              <xs:element ref="p:set-attributes"/>
              <xs:element ref="p:sink"/>
              <xs:element ref="p:split-sequence"/>
              <xs:element ref="p:store"/>
              <xs:element ref="p:string-replace"/>
              <xs:element ref="p:unescape-markup"/>
              <xs:element ref="p:unwrap"/>
              <xs:element ref="p:wrap"/>
              <xs:element ref="p:wrap-sequence"/>
              <xs:element ref="p:xinclude"/>
              <xs:element ref="p:xslt"/>
              <xs:element ref="p:exec"/>
              <xs:element ref="p:hash"/>
              <xs:element ref="p:uuid"/>
              <xs:element ref="p:validate-with-relax-ng"/>
              <xs:element ref="p:validate-with-schematron"/>
              <xs:element ref="p:validate-with-xml-schema"/>
              <xs:element ref="p:www-form-urldecode"/>
              <xs:element ref="p:www-form-urlencode"/>
              <xs:element ref="p:xquery"/>
              <xs:element ref="p:xsl-formatter"/>
            </xs:choice>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="p:documentation"/>
            <xs:element ref="p:pipeinfo"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
    </xs:sequence>
    <xs:attribute ref="xml:id"/>
    <xs:attribute ref="xml:base"/>
    <xs:attribute name="use-when"/>
    <xs:attribute name="name" type="xs:NMTOKEN"/>
    <xs:attribute name="match" use="required"/>
  </xs:complexType>
</xs:element>

Sample