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}}}

Name: Anonymous 2007-02-21 1:49 ID:mFk7owv4

cat shit vs dog shit

Name: Anonymous 2007-02-21 2:31 ID:RJ5mqfWx

What's with the curly braces?

Name: Anonymous 2007-02-21 2:45 ID:dRukvzSX

>>3
it takes up less space than duplicating the tag name
i.e. <REALLYLONGTAGNAME>content</REALLYLONGTAGNAME> takes more space and more time to parse than <REALLYLONGTAGNAME>{content}

Name: Anonymous 2007-02-21 5:29 ID:jXN6MbKu

>>1
I'd like SXML with curly brackets best.

Name: Anonymous 2007-02-21 6:48 ID:r6vvyzQl

(element-name (:attr-name1 value1) ... (:attr-namen valuen) contents)
Even better.

Name: Anonymous 2007-02-21 7:16 ID:SPHGJcCL

XML wouldn't be so bad if stupid fucks would stop using it as a programming language (yeah, I'm looking at you javatards and enterprisetards).

Name: Anonymous 2007-02-21 12:17 ID:jXN6MbKu

You write XML *fap fap fap* then parse it using an XSL stylesheet *fap fap fap* which is again XML *fap fap fap* to produce XHTML *fap fap fap* which is naturally XML *fap fap fap*, and be sure to offer an RSS seed which is XML *fap fap fap*. Then you have your complete business solution.

Name: Anonymous 2007-02-21 22:51 ID:mFk7owv4

fat XML is faaaaaaat

Name: Anonymous 2009-01-14 14:37

Turing

Name: Trollbot9000 2009-07-01 9:15

Fucks would stop using sage on this  little page the  teamspeak function is  known as bind  but is written  i can write  a C compiler  can generate pretty  clean code and  colors text spoiler.

Name: Anonymous 2010-12-17 1:39

FOLLOW THE NEW GNAA TWITTER AT http://twitter.com/Gary_Niger

Name: Sgt.Kabu拳䤸kimanꬷ貆 2012-05-28 22:45

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Name: Anonymous 2013-03-13 12:56

OR USE S-EXPRESSIONS FAGSHIT

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