Splitting XML files

Having trouble installing Oxygen? Got a bug to report? Post it all here.
brainbug
Posts: 1
Joined: Tue Aug 30, 2005 5:53 pm

Splitting XML files

Post 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
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Post 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.
Post Reply