Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Problem to add xml element in a formatted structure

by gdanenb (Acolyte)
on Feb 09, 2012 at 12:44 UTC ( #952703=note: print w/ replies, xml ) Need Help??


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...


Comment on Re^2: Problem to add xml element in a formatted structure
Download Code
Re^3: Problem to add xml element in a formatted structure
by MidLifeXis (Prior) 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 (Abbot) on Feb 09, 2012 at 15:12 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-10-26 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls