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

Re^2: is XML too hard?

by diotalevi (Canon)
on Mar 17, 2003 at 20:18 UTC ( [id://243781]=note: print w/replies, xml ) Need Help??


in reply to Re: is XML too hard?
in thread is XML too hard?

And of course, "datastructure" is data plus context. That's exactly what XML provides. It is a "datastructure" format.

Replies are listed 'Best First'.
Re: Re^2: is XML too hard?
by zby (Vicar) on Mar 17, 2003 at 20:31 UTC
    It is. I don't say that it is not. I just say it is not a good one. By good one I define one that would be efficient in describing the datastructures we encounter most frequently in our programming practice - a general one. XML is well suited for describing structure in text document's not general programming datastructures.

    The issue is quite subtle - but look at XML::Simple. It tries to make a tree datastructure from XML file, but to do it it needs to make so many gueses that for quite uncomplicated structures you get anomalies - for instance when you save the structure build from XML and get some entirely different XML.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found