Processing instruction
≈ 1 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
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. 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.
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. 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. The XML Declaration at the beginning of an XML document (shown below) is another example of a processing instruction, however it may not technically be considered one. The DocBook XSLT stylesheets understand a number of processing instructions to override the default behaviour. A draft specification for Robots exclusion standard rules inside XML documents uses processing instructions.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1374334201 under CC BY-SA 4.0; modifications have been made.