ZVON > References > DOM2 Reference

target (attribute )

Owning interface and usage:  
ProcessingInstruction.target

Member of these other interfaces:  
none

Readonly:   yes

Type:   DOMString

Description:  
The target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.


Example:
JavaScript:
  var pi = document.createProcessingInstruction('php', 'echo("another example")');
  var output = pi.target;
Output:
desired your browser
php