docbook:methodparam

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
annotations optional
arch optional
audience optional
choice restriction of xs:token req optional
condition optional
conformance optional
dir restriction of xs:token optional
linkend xs:IDREF optional
os optional
remap optional
rep restriction of xs:token norepeat optional
revision optional
revisionflag restriction of xs:token optional
role optional
security optional
userlevel optional
vendor optional
version optional
wordsize optional
xlink:actuate xlink:actuateType optional
xlink:arcrole xlink:arcroleType optional
xlink:href xlink:hrefType optional
xlink:role xlink:roleType optional
xlink:show xlink:showType optional
xlink:title xlink:titleAttrType optional
xlink:type xlink:typeType 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.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
xreflabel optional

Used By

Source

<xs:element name="methodparam">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="docbook:modifier"/>
        <xs:element ref="docbook:type"/>
      </xs:choice>
      <xs:choice>
        <xs:sequence>
          <xs:element ref="docbook:parameter"/>
          <xs:element minOccurs="0" ref="docbook:initializer"/>
        </xs:sequence>
        <xs:element ref="docbook:funcparams"/>
      </xs:choice>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="docbook:modifier"/>
    </xs:sequence>
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="docbook:db.common.attributes"/>
    <xs:attributeGroup ref="docbook:db.common.linking.attributes"/>
    <xs:attribute name="rep" default="norepeat">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="norepeat"/>
          <xs:enumeration value="repeat"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="choice" default="req">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="opt"/>
          <xs:enumeration value="plain"/>
          <xs:enumeration value="req"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample