Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Formatting in XML::Twig->print()

by Nitrox (Chaplain)
on Feb 12, 2005 at 16:26 UTC ( #430424=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/perl -w
    use strict;
    ...
    
    open(PF, "> out.xml") or die "can't open file $!\n";
    $parser->root->print(\*PF);
    
  2. or download this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Config ASDisableNagle="false" AcceptAllContent="false" IISDisableNagl
    +e="false" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChun
    +kSize="64">
    ...
    
       <Route ServerCluster="cl_app302_prod" UriGroup="event/event.war_URI
    +s" VirtualHostGroup="foobarcom"/>
    </Config>
    
  3. or download this
    <Config ASDisableNagle="false" AcceptAllContent="false" IISDisableNagl
    +e="false" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChun
    +kSize="64">
        <Log LogLevel="Error" Name="/opt/IBMWebAS/logs/native.log"/>
    ...
    
       <Route ServerCluster="cl_app302_prod" UriGroup="event/event.war_URI
    +s" VirtualHostGroup="foobarcom"/>
    </Config>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2023-06-08 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (32 votes). Check out past polls.

    Notices?