« Return to Thread: DocBook RNG Schema vs DTD + L10N

Re: DocBook RNG Schema vs DTD + L10N

by Jirka Kosek :: Rate this Message:

Reply to Author | View in Thread

Giuseppe Greco wrote:

> Is there a way to implement something similar with a customized DocBook
> RNG schema?

Please note that you can use your current approach also with RELAX NG
schema. Your confusion comes from fact that DTD has two functions -- it
can define schema and it can define entities. So you can use DTD only
for entity definitions and at the same time use RELAX NG for validation.

However I think that you will not make mistake if you replace your
complex entity management with XIncludes and profiling to achieve the
same effect.

                        Jirka


--
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@...      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------



signature.asc (258 bytes) Download Attachment

 « Return to Thread: DocBook RNG Schema vs DTD + L10N