Comment

Comment by otabdeveloper1

Someone's been confusing syntax and internal representation again.

Simple: parse

  <foo bar="zot">quux</foo>
as (JSON-like)

  { 
    "foo": {
       "bar" : "zot",
       "" : "quux"
     }
  }
Problem solved, XML is now logical again.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton