Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Parsing XML data and injecting it into new file

by haukex (Bishop)
on Sep 05, 2021 at 15:59 UTC ( #11136470=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    }
    
    $newdom->toFile($outfile, 1);
    
  2. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <testsuites>
    ...
        <testcase name="test2" />
      </testsuite>
    </testsuites>
    
  3. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <testsuites>
    ...
        <testcase name="test6"/>
      </testsuite>
    </testsuites>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136470]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-07-06 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?