Help for this page

Select Code to Download


  1. or download this
    use strict;
    use XML::Simple;
    ...
    
    # Dump the result
    print XMLout ($root, RootName => undef);
    
  2. or download this
      <FILER url="http://somewhere">
        <LOCATION name="1stFloor" />
        <PROJECT name="test_project" />
        <USER email="some@email.com" />
      </FILER>
    
  3. or download this
    use strict;
    use XML::TreeBuilder;
    ...
    
    # Dump the result
    print $root->as_XML ();
    
  4. or download this
    <FILER url="http://somewhere"><PROJECT name="test_project"></PROJECT><
    +USER email="some@email.com"></USER><LOCATION name="1stFloor"></LOCATI
    +ON></FILER>
    
  5. or download this
    use strict;
    use XML::Twig;
    ...
    
    # Dump the result
    $root->print ();
    
  6. or download this
    <FILER url="http://somewhere"><PROJECT name="test_project"/><USER emai
    +l="some@email.com"/><LOCATION name="1stFloor"/></FILER>