It looks to me like everyone's basically just parsing their xml into object structures anyway, so i've been looking for alternatives to xml that are more easily edited in a text editor. Personally, when it comes to editing xml by hand (which happens more often than i'd like), i *curse* having to write node names twice, when i indent the contents anyway to make it easier on the eyes. So i'm thinking (and i don't assume to be the first to think it ;P) about a format like this

data
   user
      username
         Andreas
      userclass
         Admin
   user
      username
         Guy
      userclass
         Chatuser

Basically using the tab character (keycode 9), and working out the depth of the "node" by its indentation.

Before i make my own class to do this, has anyone already done it, or have similarly simple formats worked out? I looked at json, and it's still a hassle to write a lot of.

- Andreas
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to