3 ms·
I consider this a feature. XML specifies a data exchange format. How this is loaded into memory depends on your use case, language etc. You can use a DOM if thi
by goto11 4y ago
I consider this a feature. XML specifies a data exchange format. How this is loaded into memory depends on your use case, language etc. You can use a DOM if this is appropriate or serialize into custom or native data structures. A browser rendering a web page will use different data structures than a crawler indexing a document.
- Gibbon1 4y agoThe problem is the schema and validation is the hard part and XML doesn't help with that at all.
- deleted 4y ago[deleted]
- goto11 4y agoXML contains a scheme/validation language, the DTD. The hard part is getting independent parties to agree on a common data exchange format. Processing the data in code is the easy part.