[oXygen-user] DocBook 5 rng-based documents
Mon Aug 13 04:49:13 CDT 2007
Sorry, the DocBook sample document that comes with oXygen is based on
DocBook 4, not DocBook 5:
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
It is the document sample.xml which you can find in the folder "docbook"
of the default oXygen project, that is sample.xpr. What is the location
of the sample from which you quoted?
The proper declaration of the DocBook 5 schema is inserted automatically
by oXygen in any new document based on one of the DocBook 5 templates
available in the "New from Templates" dialog (the "New from Templates"
The same DocBook stylesheets are able to transform correctly both
DocBook 4 and DocBook 5 documents. Just use the stylesheets available in
[oXygen-install-folder]/frameworks/docbook/xsl/ as you can see in the
DocBook default scenarios, for example the "DocBook PDF" scenario which
refers the fo/docbook.xsl stylesheet with:
You can find details about oXygen variables like "frameworks" in the
Khaled Aly wrote:
> The sample provided with oXygen 8.2 has this declaration:
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V5.0//EN"
> Anyone knows what should be the proper DOCTYPE declaration if the
> document is to be based on the RNG.
> And is there any specific impact on transformation functions in that case?
More information about the oXygen-user