Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Keep It Simple, Stupid
 
PerlMonks  

Re: XML::Simple "transforming data"

by duct_tape (Hermit)
on Mar 21, 2005 at 15:31 UTC ( [id://441294]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to XML::Simple "transforming data"

Look at the NoAttr option for XMLout. I believe that will do what you'd like. Note that it still may not preserve the exact same structure as your original data.

Replies are listed 'Best First'.
Re^2: XML::Simple "transforming data"
by Grundle (Scribe) on Mar 21, 2005 at 15:39 UTC
    I have considered this option, but the problem is that it will strip non-valid attributes, which is good, but the valid attributes will be taken out as well, and I would like to keep them in.

    Maybe I wasn't clear in my original description, but what I mean by "preserving the exact structure" includes valid attributes inside tags. This problem would be trivial if I could just flip NoAttr and move on.

    Thanks for the suggestion.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://441294]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.