Help for this page

Select Code to Download


  1. or download this
    use strict;
    use XML::Twig;
    ...
    $twig->parsefile('1.xml');
    
    $twig->print;
    
  2. or download this
    <?xml version="1.0"?>
    <titles>
    ...
    This is a test
    </test>
    </titles>
    
  3. or download this
    <?xml version="1.0"?>
    <titles>
    ...
            second sub level
            </title></title></name></title>
    </titles>
    
  4. or download this
    <?xml version="1.0"?>
    <titles>
    ...
            second sub level
            </title></title></name></title>
    </titles>