Re: DTD from extended RNC

Dave Pawson <[email protected]>
Newsgroups gmane.text.docbook.misc
Message-ID <CAEncD4chyQ3eyv3syJ58M=X8ev5DXMXhrnL=wjU+h2UO7V-VLA@mail.gmail.com>
On 21 May 2018 at 16:27, N. Raghavendra <[email protected]> wrote:
>
> 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?

Can be done... I have not used a DTD for ... 10 years?


>
> 2. Is it possible to get a DTD for 5.1?  The spec of DocBook 5.1 at
>
> http://docs.oasis-open.org/docbook/docbook/v5.1/os/docbook-v5.1-os.html
>
> 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
>
> https://docbook.org/xml/5.1/
>
> does not seem to have an XML DTD.

DTD is yesterdays tool?


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

I think so. YMMV?

Sorry, many of us moved to RNG/C a long time ago, as a much better
tool for more complex schemas?



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.