dummy_foundation/lib/XML/DOM/ProcessingInstruction.pod
changeset 4 60053dab7e2a
parent 3 8b87ea768cb8
child 5 842a773e65f2
child 6 c34a018f3291
equal deleted inserted replaced
3:8b87ea768cb8 4:60053dab7e2a
     1 =head1 NAME
       
     2 
       
     3 XML::DOM::ProcessingInstruction - An XML processing instruction in XML::DOM
       
     4 
       
     5 =head1 DESCRIPTION
       
     6 
       
     7 XML::DOM::ProcessingInstruction extends L<XML::DOM::Node>.
       
     8 
       
     9 It represents a "processing instruction", used in XML as a way to keep 
       
    10 processor-specific information in the text of the document. An example:
       
    11 
       
    12  <?PI processing instruction?>
       
    13 
       
    14 Here, "PI" is the target and "processing instruction" is the data.
       
    15 
       
    16 =head2 METHODS
       
    17 
       
    18 =over 4
       
    19 
       
    20 =item getTarget
       
    21 
       
    22 The target of this processing instruction. XML defines this
       
    23 as being the first token following the markup that begins the
       
    24 processing instruction.
       
    25 
       
    26 =item getData and setData (data)
       
    27 
       
    28 The content of this processing instruction. This is from the
       
    29 first non white space character after the target to the
       
    30 character immediately preceding the ?>.
       
    31 
       
    32 =back