p:variable

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:NMTOKEN required
select required
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="variable">
  <xs:complexType>
    <xs:sequence>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="p:documentation"/>
          <xs:element ref="p:pipeinfo"/>
          <xs:element ref="p:namespaces"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:element ref="p:empty"/>
            <xs:element ref="p:document"/>
            <xs:element ref="p:pipe"/>
            <xs:element ref="p:inline"/>
            <xs:element ref="p:data"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="p:documentation"/>
            <xs:element ref="p:pipeinfo"/>
            <xs:element ref="p:namespaces"/>
          </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" use="required"/>
    <xs:attribute name="select" use="required"/>
  </xs:complexType>
</xs:element>

Sample