Processing instructions are used to pass parameters to an application. These parameters tell the application how to process the XML document.
- It identifies the application to which the instruction is directed.
- It is a character that describes the information for the application to process.
The following processing instruction tell the application that it should transform the XML document using XSL stylesheet tutorialandexample.xsl
<?xml-stylesheet href="tutorialandexample.xsl" type="text/xsl">
Processing instruction begin with <? And end with?>.
Here, the target is xml-stylesheet.
are data or instruction that the target application will use at the time of processing the given XML document.