Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: XML

by araqnid (Beadle)
on Sep 12, 2000 at 17:04 UTC ( #32094=note: print w/replies, xml ) Need Help??


in reply to XML overhyped (was: XML)

Way overhyped, I agree- but largely because it's misunderstood.

Istr once reading in a "quick explanation of XML" (can't remember where precisely it was, sorry) that the author made the point that programmers often design file formats without hardly thinking about it: configuration files, state files, document files...

The point is, XML allows for a common structure for most of these one-time formats that autmatically gives benefits such as:

  • common parsers, with strong syntax (well-formedness) checking
  • parsers in essentially every language out there
  • handles character escaping, and specifying character sets
  • well-defined way of expressing hierarchies
  • a way of specifying semantics in a machine-readable manner for futher checking (DTDs)

( as an example (or indeed a shameless plug), I wrote make_photos which uses XML as an input file- and imho it's perfectly suited, and much better than the text file I used for the script's first incarnation)

I think that most of the "XML Powering YOUR Website!" stuff applies to technology built on top of XML, not XML itself. Which is misleading, but fairly typical marketroid-speak.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://32094]
help
Chatterbox?
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info
[Lady_Aleena]: Discipulus, I was able to get the sum of the seconds on the command line using awk. Then I ran the result through a perl script and got the result. It came bach with 4 days, 9 hours, 56 minutes, 43 seconds.
[Lady_Aleena]: s/bach/back/;
[Discipulus]: gired anyway is the intermediate state between hired and fired (and vice versa;)
[Lady_Aleena]: Discipuluis, I don't know if I want to fight with File::Find. File::Find and I are not friends.
[Discipulus]: 4 day Bach is too muche even for me
[Discipulus]: LA you know who is paco?
[Lady_Aleena]: Disc, nope.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-04-23 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.