home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-perl-addon-1.4.9-installer.exe / XMLDecl.pod < prev    next >
Encoding:
Text File  |  2001-07-13  |  719 b   |  34 lines

  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
  34.