Processing instructions are used to pass parameters to an application. These parameters tell the application how to process the XML document.



target– It identifies the application to which the instruction is directed.

instruction– 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

Processing instruction begin with <? And end with?>.

Here, the target is xml-stylesheet.

href=”tutorialandexample.xsl” and type=”text/xsl” are data or instruction that the target application will use at the time of processing the given XML document.

Pin It on Pinterest

Share This