deprecated/buildtools/buildsystemtools/lib/XML/DOM/XMLDecl.pod
changeset 662 60be34e1b006
parent 655 3f65fd25dfd4
equal deleted inserted replaced
654:7c11c3d8d025 662:60be34e1b006
       
     1 =head1 NAME
       
     2 
       
     3 XML::DOM::XMLDecl - XML declaration in XML::DOM
       
     4 
       
     5 =head1 DESCRIPTION
       
     6 
       
     7 XML::DOM::XMLDecl extends L<XML::DOM::Node>, but is not part of the DOM Level 1
       
     8 specification.
       
     9 
       
    10 It contains the XML declaration, e.g.
       
    11 
       
    12  <?xml version="1.0" encoding="UTF-16" standalone="yes"?>
       
    13 
       
    14 See also XML::DOM::Document::getXMLDecl.
       
    15 
       
    16 =head2 METHODS
       
    17 
       
    18 =over 4
       
    19 
       
    20 =item getVersion and setVersion (version)
       
    21 
       
    22 Returns and sets the XML version. At the time of this writing the version should
       
    23 always be "1.0"
       
    24 
       
    25 =item getEncoding and setEncoding (encoding)
       
    26 
       
    27 undef may be specified for the encoding value.
       
    28 
       
    29 =item getStandalone and setStandalone (standalone)
       
    30 
       
    31 undef may be specified for the standalone value.
       
    32 
       
    33 =back