Home Forums General XMetaL Discussion Processing Instructions for custom templates Reply To: Processing Instructions for custom templates

Derek Read

Reply to: Processing Instructions for custom templates

The XAC file name must resolve to the same filename specified in your Doctype declaration's SYSTEM path, or the catalog lookup if you are using PUBLIC only, or if using Schema then schemalocation attribute (“file name” being distinct from “file extension”, the latter of course should match the type of file).

Example for clarification:
Declared in the XML file: foo.dtd or foo.xsd
XAC file must be named: foo.xac

It does not matter what filename the XAC file is stored as inside the CMS. What matters is its name when it is placed on the user's machine by the CMS before the XML file is opened. This will be readily apparent however, because if the filename is incorrect (does not match) XMetaL Author will not locate it and you will prompted to browse for the DTD or XSD.