[Contents] [Prev] [Next] [Index] [Report an Error]

XML Processing Instructions

An XML processing instruction (PI) contains information relevant to a particular protocol and has the following form:

<?PI-name attributes?>

Some PIs emitted during a JUNOScript session include information that a client application needs for correct operation. A prominent example is the <?xml?> tag element, which the client application and JUNOScript server each emit at the beginning of every JUNOScript session to specify which version of XML and which character encoding scheme they are using. For more information, see Emitting the <?xml?> PI and Parsing the JUNOScriptServer’s <?xml?> PI.

The JUNOScript server can also emit PIs that the client application does not need to interpret (for example, PIs intended for the CLI). If the client application does not understand a PI, it must treat the PI like a comment instead of exiting or generating an error message.


[Contents] [Prev] [Next] [Index] [Report an Error]