Page 1 of 1

Splitting XML files

Posted: Tue Aug 30, 2005 5:59 pm
by brainbug
I am used to splitting my docbook xml files in to several files using

<!ENTITY chapter1 SYSTEM "chapter1.xml">

and then referencing it in the document using

&chapter1;

but this way <oXygen/> does not know that chapter1.xml is in fact part of a docbook document so tags are not identified.

How should I deal with this?

/Johannes

Posted: Wed Aug 31, 2005 8:48 am
by Radu
Hello Johannes

For such files you can go to Preferences -> Editor/Tag Insight/Default page.

-- For Oxygen 5.1 you will have to choose the DTD, Schema or RNG file that will drive the content completion for all files that do not have an associated schema/dtd.

--Starting from Oxygen 6 the options are more complex. You can define more characteristics for the files for which content completion will be driven by a fixed schema. There are already some defaults there including "book" and "article" so if you have a file with the root tag "book" or "article" which does not define a schema, content completion for it should use the docbook dtd by default.

Regards, Radu.