p:option

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:NMTOKEN required
required restriction of xs:NMTOKEN optional
select 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="option">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="p:documentation"/>
      <xs:element ref="p:pipeinfo"/>
    </xs:choice>
    <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="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="0"/>
          <xs:enumeration value="1"/>
          <xs:enumeration value="true"/>
          <xs:enumeration value="false"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="select"/>
  </xs:complexType>
</xs:element>

Sample