Re:How to Avoid Being Called a Bozo When Producing XML (2005)
by JoshTriplett on Sunday July 31, 2016 @04:37PM
(#12198712)
If you're going to compare the two fairly, include appropriate indentation for both, not just the S-expression version. Also put the author and name tags on the same line, as you did with the S-expressions:
That said, I like S-expressions too, and I wish more parsers and tools existed for them, such as schemas, query tools, and simple transformation tools.
[ Parent
| on HN ]
Re:How to Avoid Being Called a Bozo When Producing XML (2005)
by wtbob on Sunday July 31, 2016 @06:18PM
(#12199190)
> If you're going to compare the two fairly, include appropriate indentation for both, not just the S-expression version.
When I pasted it in from https://validator.w3.org/feed/docs/atom.html#sampleFeed I guess I lost the indents. No idea why: they are clearly there in the original.