• Dear Guest, Please do NOT forget to join our JAVA JOBS (ONLY) FACEBOOK GROUP to be aware of latest JAVA openings, and you may also post any JAVA related queries/jobs.

What is a processing instruction in xml?

#1
An xml file can also contain processing instructions that give commands or information to am application that is processing the xml data. Processing instructions have the following format :

<? Target instructions ?>

Target is the name of the app that is expected to do the processing,& instructions in a string of characters that embodies the info or commands for the app to process.
 
#2
An xml file can also contain processing instructions that give commands or information to am application that is processing the xml data. Processing instructions have the following format:
<? Target instructions ?>
target is the name of the app that is expected to do the processing,& instructions in a string of characters that embodies the info or commands for the app to process.
Can u expalin about instruction ?
 
#3
<? Target instructions ?>

The Target is the application name the instruction is meant for. It can be a reserved value such as " xml-stylesheet" or the name of an external application such as script program name.

Example : <? Xml-stylesheet type="text/css" href="headline.css" ?>

In above example the instructions to the processor is to use an external stylesheet. Processing instructions are not built into the xml recommendation. Rather, they are processor-dependent. So not all processors understand all processing instructions. Our example use the common instruction used by all processors.
 
#4
The most widely recognized utilization of a handling direction is to ask for the XML record be rendered utilizing a template utilizing the 'xml-template' target, which was institutionalized in 1999. It can be utilized for both XSLT and CSS templates.
 
Top