Processing instruction nodes

A processing instruction node encapsulates an XML processing instruction.

A processing instruction node can have zero or one parent. The content of a processing instruction cannot include the string ?>. The target of a processing instruction must be an NCName. The target is used to identify the application to which the instruction is directed.

A processing instruction node has the following node properties:

  • target
  • content
  • parent, possibly empty

Processing instruction nodes can be constructed in XQuery expressions by using direct or computed constructors.