processing-instruction

Element Information

Model

Children: cdata, choose, else, if, text, value-of

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:string required
select xs:string optional

Used By

Element Group template-content

Source

<xs:element name="processing-instruction">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="text-template-content"/>
    </xs:choice>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="select" type="xs:string" use="optional"/>
    <!-- todo: type definition for {ncname} -->
  </xs:complexType>
</xs:element>

Sample