Processing Instruction

A processing instruction (PI) is an SGML and XML node type, which may occur anywhere in a document, intended to carry instructions to the application.[1][2]

Processing instructions are exposed in the Document Object Model as Node.PROCESSING_INSTRUCTION_NODE, and they can be used in XPath and XQuery with the 'processing-instruction()' command.

  1. ^ Stayton, Bob (September 2007). "Chapter 9. Customization methods §Processing instructions". DocBook XSL: The Complete Guide. Sagehill Enterprises. ISBN 978-0974152134.
  2. ^ Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997