c:processing-instruction

<c:processing-instruction
  name = { ncname }
  value? = expression >
  <!-- Content: sequence-constructor -->
</c:processing-instruction>

Creates a processing instruction node.

Category
instruction
Permitted parent elements
Any XCST element whose content model is sequence-constructor
Any literal result element

Attributes

name The name of the processing instruction.
value The processing instruction content.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Example
<c:processing-instruction name='xml-stylesheet'>href="atom.xsl" type="text/xsl"</c:processing-instruction>

Error Conditions

It is a compilation error if the value attribute is present when the content of the element is non-empty.

It is a compilation error if the required item type of the containing sequence constructor is not one of, or a super class of, Object, XProcessingInstruction or XmlProcessingInstruction.