Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Outputting a hash as XML

by grantm (Parson)
on Mar 16, 2005 at 20:32 UTC ( [id://440134]=note: print w/replies, xml ) Need Help??


in reply to Re: Outputting a hash as XML
in thread Outputting a hash as XML

Yes, the order of elements is significant in XML. Some applications are tolerant of different element ordering, but others are picky. It seems your application is picky, so XML::Simple is definitely not the right tool for the job.

Replies are listed 'Best First'.
Re^3: Outputting a hash as XML
by smeenz (Sexton) on Mar 16, 2005 at 21:19 UTC
    right.. so.. I either kludge this by storing a static list so I know what order to output the tags in, or I read parse the DTD every time to be completely correct, but with the drawback of the additional overhead that would create.

    I think I'll just go for a static list indicating the order the tags need to appear.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found