Hacker News new | ask | show | jobs
by peterkelly 4446 days ago
I never understood why internal or external entities were included in XML. Can anyone explain what useful purpose they serve?
1 comments

Exactly the same as #includes and #defines in C - they let you organize your code in multiple files, be more concise, and shoot yourself in the foot, repeatedly.

They were useful for document editing use cases - remember this was before SOAP and xml serialization, and sgml tooling that already supported this stuff existed. You can see the record of the decision here: http://www.w3.org/XML/9712-reports.html#ID5