D McGilvray
Usenet Archive
- Joined
- Aug 25, 2006
- Messages
- 7
- Reaction score
- 0
Hi there, I've been searching in vain for an example of exactly *how* notations are to be used beyond simply declaring external entities.
To avoid flogging a dead horse, other considerations force me to use DTD's, I'm not against discussion about Schemas, but I cannot use them at the moment.
I understand that different types of unparsed entities can be declared by declaring the notation. eg.
<!NOTATION GIF SYSTEM "some reference to gif">
<!ENTITY mypicture SYSTEM "aphoto.gif" GIF>
I can say that my element must contain an ENTITY attribute, but can I specify what notation that entity should be?
I haven't seen any example of this, so I'm assuming that it isn't possible, but to me it seems like a very powerful feature - for example, I want to specify extra processing attributes tailored to the type of file.
Thanks for your time and expertise,
Dougie
To avoid flogging a dead horse, other considerations force me to use DTD's, I'm not against discussion about Schemas, but I cannot use them at the moment.
I understand that different types of unparsed entities can be declared by declaring the notation. eg.
<!NOTATION GIF SYSTEM "some reference to gif">
<!ENTITY mypicture SYSTEM "aphoto.gif" GIF>
I can say that my element must contain an ENTITY attribute, but can I specify what notation that entity should be?
I haven't seen any example of this, so I'm assuming that it isn't possible, but to me it seems like a very powerful feature - for example, I want to specify extra processing attributes tailored to the type of file.
Thanks for your time and expertise,
Dougie