Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: XML::Simple "transforming data"

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

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 20: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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2023-01-27 14:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found