Home Forums General XMetaL Discussion XMAX without XAC Reply To: XMAX without XAC

Derek Read

Reply to: XMAX without XAC

Yes, XMAX supports what you state here.

However, because XMAX does not use catalog files and has no fall-back folder (like the Rules folder in XMetaL Author) you must specify a SYSTEM id in the DOCTYPE declaration in your XML file that must resolve (ie: the DTD is located there). You can specify a PUBLIC id but it will not be used if the path specified in the SYSTEM id portion cannot be located.

Then when you call either LoadFromString() or LoadFromFile() do not specify a path to an XAC file (second parameter).
Depending on which language you are coding in you may need to specify a null value or empty string value for the syntax to be legal.

Here's an HTML / JScript example for use in a web page: