September 2003
Intermediate to advanced
336 pages
7h 20m
English
The classic example of a processing instruction, far and away the most familiar one used in practice, is the xml-stylesheet processing instruction that tells web browsers where to find the stylesheet for a particular instance document. For example, consider the following document, which describes a chess game.
<?xml version="1.0"?> <?xml-stylesheet type="text/css" href="chess.css"?> <game> <move>f3</move> <move>e5</move> <move>g4</move> <move>Qh4++</move> </game>
The content of the document is completely related to chess. It can be used for many purposes, not just for display to people but also as input to chess-playing programs like Deep Junior. The styles used to format this content for a person are not a fundamental part of ...
Read now
Unlock full access