So I just read Anne’s Why generic XML on the web is a bad idea, and got an idea. Suppose there were a way, probably using RDF or something, map certain elements in it to well-accepted elements in another namespace?
It would work as follows
- I have a document, which, for whatever reason, can’t be appropriately expressed in any well-accepted XML language (XHTML, MathML, ChemML, OpenDocument, whatever).
- I give this document appropriate semantics and create a namespace for those semantics, and a description of them at that namespace.
- Somewhere in the namespace’s URI I include a bit of information (again, probably using RDF or something else I don’t understand) that says, for example,
<angry>is a subset of
xhtmlis in the standard XHTML namespace.
- A search engine comes along and sees your document. While it can’t fully understand your document, and there may even be parts of it it can’t understand at all, it can still understand bits and pieces of it, and can do whatever it does appropriately.