Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

IMPROVED XML FORMAT

Name: Anonymous 2007-02-21 1:02 ID:dRukvzSX

I like it this way better.  Far less bloated.

1. Instead of opening and closing tags, we use a simplified tag format.

<ELEMENT-NAME[ATTRIBUTE-NAME=VALUE],[ATTRIBUTE-NAME=VALUE]...>{ELEMENT CONTENTS}

2. Spaces only significant within quotes.

3. Document encased in a header like this: <<Improved-XML-Format [version="1.0"] >> { DATA }

4. Implementation example:
<<Improved-XML-Format[version="1.0"]>>{
 <root>{
  <element[attribute="ZOMG ATTRIBUTE",attribute-2="ZOMG!"]>{
   <element-2>{ "BLAH BLAH BLAH }
   <element-2[attribute="XXXX"]>{ "BLAH BLAH BLAH }
   }
  }

or:
<<Improved-XML-Format[version="1.0"]>>{<root>{<element[attribute="ZOMG ATTRIBUTE",attribute-2="ZOMG!"]>{<element-2>{"BLAH BLAH BLAH}<element-2[attribute="XXXX"]>{"BLAH BLAH BLAH}}}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List