Processing Instruction: Difference between revisions

Content deleted Content added
m Reverted edits by 122.179.101.169 (talk): editing tests (HG)
Examples: PHP code blocks are not XML processing instructions
Line 17:
<source lang="xml"><?xml-stylesheet type="text/css" href="style.css"?></source>
 
Another use is the [[programming language]] [[PHP]], which can be embedded within an (X)[[HTML]] document as shown in the following example.<ref name="nutshell">{{cite book | title = XML in a nutshell | author = Elliotte Rusty Harold, W. Scott Means | isbn = 978-0-596-00764-5 | page = 23 }}</ref>
<source lang="php"><?php echo $a; ?></source>
The [[DocBook]] XSLT stylesheets understand a number of processing instructions to override the default behaviour.<ref>http://docbook.sourceforge.net/release/xsl/current/doc/pi/pi-fo.html</ref>