No. I will correct it again, levaing only _legal_ text in the message.
In the DTD, the following must appear (for XML-validating applications only):
<!NOTATION GIF
PUBLIC "+//IDN ds.internic.net/rfc/rfc2046.txt//NOTATION
Multipurpose Internet Mail Extensions::image/gif//EN">
<!NOTATION JPEG
PUBLIC "+//IDN ds.internic.net/rfc/rfc2046.txt//NOTATION
Multipurpose Internet Mail Extensions::image/jpeg//EN">
<!ELEMENT CML (IMG)*>
<!ELEMENT IMG (EMPTY)>
<!ATTLIST IMG SRC ENTITY #REQUIRED>
The Inbternal subset would look like this:
<!DOCTYPE CML [
<!ENTITY mygif SYSTEM "my.gif" NDATA GIF>
<!ENTITY myjpeg SYSTEM "my.jpg" NDATA JPEG>
]>
<CML>
<IMG SRC="mygif"/>
<IMG SRC="myjpeg"/>
> </CML>
The notation _does not need_ to appear on the link. At all. It's a property of
the _entity_. Once you declatre the entity you are done.
I _think_ that you can also turn the same instance markup into XLL markup (by
using HREF instead of SRC (or can you rename it, I forget), and also changing
the entity declaration.
I have to reread the XLL spec., as it's been a while.
> Have I finally got there? It seems to make sense... (The same levels of
> indirection still apply, of course).
No, you're still making it too complicated. Look at my entity declarations, and
instance markup carefully, that's the only thing I had to change.
------------------------------------------+----------------------------
David Durand dgd@cs.bu.edu| david@dynamicDiagrams.com
Boston University Computer Science | Dynamic Diagrams
http://www.cs.bu.edu/students/grads/dgd/ | http://dynamicDiagrams.com/
| MAPA: mapping for the WWW