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
- Chapter 9. Customization methods §Processing instructions · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "Chapter 9. Customization methods §Processing instructions." Stayton, Bob (September 2007). 2026-11-17. http://www.sagehill.net/docbookxsl/ProcessingInstructions.html. Accessed 24 November 2026.
Chicago "Chapter 9. Customization methods §Processing instructions." Stayton, Bob (September 2007). 2026-11-17. http://www.sagehill.net/docbookxsl/ProcessingInstructions.html.
APA Stayton, Bob (September 2007). (2026). Chapter 9. Customization methods §Processing instructions. Retrieved November 24, 2026, from http://www.sagehill.net/docbookxsl/ProcessingInstructions.html
- Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 2026-11-18." Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 20. 2026-11-17. https://www.w3.org/TR/NOTE-sgml-xml-971215. Accessed 24 November 2026.
Chicago "Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 2026-11-18." Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 20. 2026-11-17. https://www.w3.org/TR/NOTE-sgml-xml-971215.
APA Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 20. (2026). Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 Wikipedia revision 1374334201, retrieved 2026-11-18. Retrieved November 24, 2026, from https://www.w3.org/TR/NOTE-sgml-xml-971215
- 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 · retrieved 2010-08-17 · rev 1374334201
Cite this reference
MLA "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." Bryan, Martin (1997). 2010-08-17. https://archive.org/details/sgmlhtmlexplaine0000brya. Accessed 24 November 2026.
Chicago "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." Bryan, Martin (1997). 2010-08-17. https://archive.org/details/sgmlhtmlexplaine0000brya.
APA Bryan, Martin (1997). (2010). 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. Retrieved November 24, 2026, from https://archive.org/details/sgmlhtmlexplaine0000brya
- 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 · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "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." Hossein Bidgoli (2004). 2026-11-17. https://archive.org/details/internetencyclop00bidg_359. Accessed 24 November 2026.
Chicago "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." Hossein Bidgoli (2004). 2026-11-17. https://archive.org/details/internetencyclop00bidg_359.
APA Hossein Bidgoli (2004). (2026). 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. Retrieved November 24, 2026, from https://archive.org/details/internetencyclop00bidg_359
- XML 1.0 - slide · retrieved 2023-02-07 · rev 1374334201
Cite this reference
MLA "XML 1.0 - slide." "XML 1. 2023-02-07. https://www.w3.org/Consortium/Offices/Presentations/XML1.0/slide30-0.htm. Accessed 24 November 2026.
Chicago "XML 1.0 - slide." "XML 1. 2023-02-07. https://www.w3.org/Consortium/Offices/Presentations/XML1.0/slide30-0.htm.
APA "XML 1. (2023). XML 1.0 - slide. Retrieved November 24, 2026, from https://www.w3.org/Consortium/Offices/Presentations/XML1.0/slide30-0.htm
- Associating Style Sheets with XML documents 1.0 (Second Edition) · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "Associating Style Sheets with XML documents 1.0 (Second Edition)." "Associating Style Sheets with XML documents 1. 2026-11-17. https://www.w3.org/TR/xml-stylesheet/. Accessed 24 November 2026.
Chicago "Associating Style Sheets with XML documents 1.0 (Second Edition)." "Associating Style Sheets with XML documents 1. 2026-11-17. https://www.w3.org/TR/xml-stylesheet/.
APA "Associating Style Sheets with XML documents 1. (2026). Associating Style Sheets with XML documents 1.0 (Second Edition). Retrieved November 24, 2026, from https://www.w3.org/TR/xml-stylesheet/
- Part 2. FO Processing Instruction Reference · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "Part 2. FO Processing Instruction Reference." "Part 2. 2026-11-17. https://docbook.sourceforge.net/release/xsl/current/doc/pi/pi-fo.html. Accessed 24 November 2026.
Chicago "Part 2. FO Processing Instruction Reference." "Part 2. 2026-11-17. https://docbook.sourceforge.net/release/xsl/current/doc/pi/pi-fo.html.
APA "Part 2. (2026). Part 2. FO Processing Instruction Reference. Retrieved November 24, 2026, from https://docbook.sourceforge.net/release/xsl/current/doc/pi/pi-fo.html
- Robots Processing Instruction Homepage · retrieved 2010-08-17 · rev 1374334201
Cite this reference
MLA "Robots Processing Instruction Homepage." 2010-08-17. https://web.archive.org/web/20100921021126/http://www.atrus.org/writings/technical/robots_pi/. Accessed 24 November 2026.
Chicago "Robots Processing Instruction Homepage." 2010-08-17. https://web.archive.org/web/20100921021126/http://www.atrus.org/writings/technical/robots_pi/.
APA encyclopegia.org. (2010). Robots Processing Instruction Homepage. Retrieved November 24, 2026, from https://web.archive.org/web/20100921021126/http://www.atrus.org/writings/technical/robots_pi/
- 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 · retrieved 2026-11-17 · rev 1374334201
Cite this reference
MLA "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." Elliotte Rusty Harold, W. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.
Chicago "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." Elliotte Rusty Harold, W. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).
APA Elliotte Rusty Harold, W. (2026). 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. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)
Cite this article
MLA
"Processing instruction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/processing-instruction. Accessed 24 November 2026.
Chicago
"Processing instruction." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/processing-instruction.
APA
encyclopegia.org. (2026). Processing instruction. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/processing-instruction
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON