Content deleted Content added
m →External links: Fix section titles + WP:CHECKWIKI error fixes per Wikipedia:External_links#External_links_section + general fixes using AWB (7661) |
typos; typogr. |
||
Line 1:
A '''Processing Instruction''' ('''PI''') is
Processing instructions are exposed in the [[Document Object Model]] as <code>Node.PROCESSING_INSTRUCTION_NODE</code>, and they can be used in [[XPath]] and [[XQuery]] with the 'processing-instruction()' command.
== Syntax ==
An SGML processing instruction is enclosed
<source lang="xml"><?PITarget PIContent?></source>
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 | page = 23 }}</ref>
<source lang="php"><?php echo $a; ?></source>
|