66
The lost art of XML — mmagueta
(marcosmagueta.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Skimming through the post, the code snippet about halfway through picked my attention. Been a while since I studied site development, but that snippet looks awfully like HTML. Are it and XML related?
Yes. Arguably, HTML is a form of XML. Also, the ML means the same in both. XML tools can often also be used to query HTML documents.
Ooooh~
Thanks for the explanation!
There was a time where HTML moved towards a more formalized XML-valid definition named XHTML. Ultimately, web/browser backwards compatibility and messy and forgiving nature lead to us giving up on that and now we have the HTML living standard with rules, but browsers (not sure to what degree it's standardized or not) are very forgiving in their interpretation.
But nobody uses it anymore and uses a js-framework on a page instead. Which only 3 billion-dollar engines in the world can render.
They're siblings. They both derive from SGML. There is a version of HTML that is also XML conformant called XHTML but it never caught on...