I am looking at various methods of producing XML/CSS pages
http://www.stunicholls.myby.co.uk/index.xml
and have found that if I create my own .dtd file and declare it
- Code: Select all
<!DOCTYPE html PUBLIC "-//StuNicholls//DTD XmlWebsite//EN//" "http://www.stunicholls.myby.co.uk/w3xml.dtd">
and the dtd file contains a !ENTITY
- Code: Select all
<!ENTITY insert SYSTEM "insert.txt">
Netscape and Mozilla give an error report concerning the &insert;
in the XML.
Looking into the Mozilla web site I have found that external DTDs are ignored except when the are placed locally in the mozilla/res/dtd directory.
This seems like an odd approach to producing valdating dtd files for XML .
Stu
IE6 handles the dtd with no problems.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)



