e01.org

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. 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.

References

  1. ^ Stayton, Bob (September 2007). "Chapter 9. Customization methods §Processing instructions" . DocBook XSL: The Complete Guide . Sagehill Enterprises. ISBN 978-0974152134 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
  2. ^ Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
  3. ^ Bryan, Martin (1997). SGML and HTML Explained . Addison Wesley Longman. ISBN 0-201-40394-3 . Retrieved 2010-08-18 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1282086000.0
  4. ^ Hossein Bidgoli (2004). The Internet encyclopedia, Volume 3 . John Wiley and Sons. p. 877 . ISBN 0-471-22203-8 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
  5. ^ "XML 1.0 - slide "Processing Instructions (PIs)" " . www.w3.org . Retrieved 2023-02-08 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1675810800.0
  6. ^ "Associating Style Sheets with XML documents 1.0 (Second Edition)" . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
  7. ^ "Part 2. FO Processing Instruction Reference" . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
  8. ^ "Robots Processing Instruction Homepage" . Archived from the original on 2010-09-21 . Retrieved 2010-08-18 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1282086000.0
  9. ^ Elliotte Rusty Harold, W. Scott Means (2004). XML in a nutshell . p. 23. ISBN 978-0-596-00764-5 . Wikipedia revision 1374334201, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Processing instruction". 1789116568. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374334201

JSON record · API collection · citation policy