http://www.perlmonks.org?node_id=952703


in reply to Re: Problem to add xml element in a formatted structure
in thread Problem to add xml element in a formatted structure

In my case human readable format is important
Additional module is problematic as well. since this is on running site

I don't understand why creating a new document with
$doc->toString(1) or $doc-toFile($f,1)
is working fine
Only when appending elements the problem appear... I used xmllint --format to format xml structure but it's not pure perl way...

Replies are listed 'Best First'.
Re^3: Problem to add xml element in a formatted structure
by MidLifeXis (Monsignor) on Feb 09, 2012 at 13:22 UTC

    So you are able to modify the code on a running site, but not add a module to implement your need on a running site? What if you were to modify your code by cutting and pasting the code from the module?

    Just trying to understand where that line is drawn, and possibly getting you to evaluate why.

    --MidLifeXis

Re^3: Problem to add xml element in a formatted structure
by tobyink (Canon) on Feb 09, 2012 at 15:12 UTC