[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Help needed to use ENTITY in docbook5 (convert from docbook4)
On 25.5.2018 9:23, victory wrote: > I think this is caused by this change: > https://github.com/docbook/docbook.org/issues/17 Please note that there were not made change. The problem is that with DocBook 4 people usually used external entities to break document into several smaller files. If this approach is used entities defined in the main file are inherited to files included via entity mechanism. For DocBook 5 XInclude is usually used for modularity. With XInclude situation is different. Each xincluded file is parsed separately and does not inherit entity declarations from the main file. So with XInclude entity declarations has to be repeated at the beginning of each file. But in fact this is not directly related to differences between DocBook 4 and 5. You can use XInclude with DocBook 4 or external entities with DocBook 5. But using entities for accented characters in 2018 seems really wrong. Appropriate Unicode characters should be used directly in the files. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]