[oXygen-user] DocBook 5 rng-based documents

Khaled Aly
Mon Aug 13 12:02:19 CDT 2007


George, Sorin

That works fine. Thanks for the info and the links.

At the first while, it's clear there are element structure differences in 
version 5.

Cheers.
Khaled

----- Original Message ----- 
From: "George Cristian Bina" <>
To: <>
Sent: Monday, August 13, 2007 2:19 PM
Subject: Re: [oXygen-user] DocBook 5 rng-based documents


> Hi Khaled,
>
> See also the following from the DocBook 5 howto:
> http://www.docbook.org/docs/howto/#editors-oxygen
> It describes how to set up oXygen to recognize DocBook schema 
> automatically based on the document namespace.
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina - http://aboutxml.blogspot.com/
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> Sorin Ristache wrote:
>> Hello,
>>
>> 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"
>>                          "http://www.docbook.org/xml/4.4/docbookx.dtd">
>>
>> 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" 
>> toolbar button):
>>
>> <?oxygen 
>> RNGSchema="http://www.oasis-open.org/docbook/xml/5.0b5/rng/docbook.rng" 
>> type="xml"?>
>>
>> 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:
>>
>> ${frameworks}/docbook/xsl/fo/docbook.xsl
>>
>> You can find details about oXygen variables like "frameworks" in the User 
>> Manual:
>>
>> http://www.oxygenxml.com/doc/ug-standalone/scenario-editor-variables.html
>>
>>
>> Regards,
>> Sorin
>>
>> Khaled Aly wrote:
>>> The sample provided with oXygen 8.2 has this declaration:
>>>
>>>     <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V5.0//EN" 
>>> "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd">
>>>
>>>  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?
>>
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> 




More information about the oXygen-user mailing list