This seems reasonable to me - and could be accompanied by a mime attribute
- e.g:
<CML:molecule xml:packed="base64" xml:mime="chemical/x-chemdraw">... base64
encoding of horrid binary file ... </CML:molecule>
I know that this can also be done using NOTATION but also that - like many
others - I don't know how to do it and have never seen a NOTATION used in
XML documents. I therefore support Tim's suggestion of bolting xml:packed
into the language and suggest xml:mime as a companion.
P.
I also know - and approve - that it can be done with XLink, but note that
these are untyped so would also benefit from xml:mime, e.g:
<p> This is a <a href="mol.cdw" xml:mime="chemical/x-chemdraw">molecule</a>
... </p>
P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg