Help for this page

Select Code to Download


  1. or download this
    require XML::LibXML::PrettyPrint;
    XML::LibXML::PrettyPrint
        -> new( element => {inline=>['name']} )
        -> pretty_print($doc)
        -> toFile($file);
    
  2. or download this
    <configuration>
      <property>
    ...
        <name>test2</name>
      </property>
    </configuration>
    
  3. or download this
    <configuration>
      <property>
    ...
        </name>
      </property>
    </configuration>
    
  4. or download this
    require XML::LibXML::PrettyPrint;
    XML::LibXML::PrettyPrint->pretty_print($doc)->toFile($file);