M
Matthew Burgess
I'm not sure that XML allows me to do what I want, but here goes:
Given that I have files a.xml and b.xml who both need to access an
entity defined in c.ent how do I go about it?
Ideally I'd like a syntax similar to:
--- a.xml (or b.xml) ---
<!DOCTYPE ... [
#include c.ent <!-- makes all entities in c.ent available in a.xml
-->
]>
&c-ent;
--- end xml file ---
--- c.ent ---
<!ENTITY c-ent "entity from c.ent">
--- end c.ent ---
Any ideas if/how I can achieve this without putting the entities
within the DTD itself (which is not an option)?
Thanks,
Matt.
Given that I have files a.xml and b.xml who both need to access an
entity defined in c.ent how do I go about it?
Ideally I'd like a syntax similar to:
--- a.xml (or b.xml) ---
<!DOCTYPE ... [
#include c.ent <!-- makes all entities in c.ent available in a.xml
-->
]>
&c-ent;
--- end xml file ---
--- c.ent ---
<!ENTITY c-ent "entity from c.ent">
--- end c.ent ---
Any ideas if/how I can achieve this without putting the entities
within the DTD itself (which is not an option)?
Thanks,
Matt.