TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why is XML so prevalent in describing GUI views?

2 pointsby vuyaniover 8 years ago

1 comment

nercht12over 8 years ago
Maybe &#x27;cause of HTML? Depends on what framework you look at. Web tech is everywhere, so you see HTML alot. In some senses, I&#x27;d say it&#x27;s more structured and readable that formats like JSON. e.g. compare:<p>&lt;div id=&quot;parent&quot;&gt;&lt;div id=&quot;child&quot;&gt;Hello World&lt;&#x2F;div&gt;&lt;&#x2F;div&gt;<p>div: { id:&quot;parent&quot;, members: { div: { id:&quot;child&quot;, content:&quot;Hello World&quot; } } }