OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] DTD from extended RNC

At 2018-05-21T13:17:53+01:00, Dave Pawson wrote:

> On 21 May 2018 at 12:57, N. Raghavendra <nyraghu27132@gmail.com> wrote:

>> However, I wanted to return to PSGML mode following some advice on
>> comp.text.xml:
>> https://groups.google.com/d/msg/comp.text.xml/SYhl-SKcKO0/q6oHMJhTBwAJ
>    Anything you can do with a DTD you can do with rng/rnc.

I like nXML mode, and am comfortable with it.  PSGML mode has a better
indentation system, more features (such as the commands,
sgml-tag-region, and sgml-auto-insert-required-elements).  Another nice
thing is that, with a PI like

<?PSGML ELEMENT foo nofill=t>

one can specify that a `foo' element should not be disturbed when
filling a region.  This is useful if one wants to fill a buffer
containing verbatim elements such as program listings.

Regarding a DTD for my extended schema, I have a few queries:

1. How difficult is it to start with a DocBook XML DTD, and extend it by
adding the elements I had mentioned, to get a new XML DTD?

2. Is it possible to get a DTD for 5.1?  The spec of DocBook 5.1 at


says, "The Technical Committee provides the DocBook 5.1 schema in other
schema languages, including W3C XML Schema and an XML DTD, but the RELAX
NG Schema is the normative schema."  The distribution at


does not seem to have an XML DTD.

3. Is it important to use an editor that understands RELAX NG?


N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]