Setup to use common DTD?
Posted: Wed May 19, 2004 6:22 pm
OK, this might be an obvious one, but I can't find it.
I have a large set of XML docs sorted by topic etc into a whole bunch of subdirs. The common DTD is stored in a dir called "rules".. so the structure looks something like this:
cvsroot
/rules - contains DTDs
/xml - root of my xml files
/xml/data1 - dir contianing xml by topic
/xml/data2
/xml/data1/data3
etc
I have a declaration like this at the top of each XML file
<!DOCTYPE page PUBLIC "-//Redwood//DTD Page 1.1//EN" "page.dtd">
pge.dtd is stored in the rules dir, and the old editor I've been using kows this, and can validate against this without needing the relative path in the DOCTYPE. Oxygen can only validate against the DTD if I type in the relative path... ie, ../rules/page.dtd I can't do this for many reasons... external tools, files in nested dirs etc.
So, down to my question... is there any way I can keep my DOCTYPE line the same, and let Oxygen know that page.dtd is always in $PATH/rules ??
I have a large set of XML docs sorted by topic etc into a whole bunch of subdirs. The common DTD is stored in a dir called "rules".. so the structure looks something like this:
cvsroot
/rules - contains DTDs
/xml - root of my xml files
/xml/data1 - dir contianing xml by topic
/xml/data2
/xml/data1/data3
etc
I have a declaration like this at the top of each XML file
<!DOCTYPE page PUBLIC "-//Redwood//DTD Page 1.1//EN" "page.dtd">
pge.dtd is stored in the rules dir, and the old editor I've been using kows this, and can validate against this without needing the relative path in the DOCTYPE. Oxygen can only validate against the DTD if I type in the relative path... ie, ../rules/page.dtd I can't do this for many reasons... external tools, files in nested dirs etc.
So, down to my question... is there any way I can keep my DOCTYPE line the same, and let Oxygen know that page.dtd is always in $PATH/rules ??