Help needed to use ENTITY in docbook5 (convert from docbook4)

[email protected] Thu, 24 May 2018 08:14:17 +0200
Newsgroups gmane.text.docbook.misc
Message-ID <trinity-fb2a516b-583b-4375-a5ed-904b19493dda-1527142457321@3c-app-webde-bap13>
Hi,

I have a docbook4 document that I want to convert to docbook5. In the docbook4 document I have a lot of special character which are defined in the document ownChar.dtd.

How Do I have to change the “old docbook 4” DOCTYPE and ENTITY Part for a docbook5 relax NG document?

Attached you will find an extract of the current document:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"

"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [

<!ENTITY % ownChar_dtd SYSTEM "dtd/ownChar.dtd">

%ownChar_dtd;

]>

<book

version="5.0"

xmlns="http://docbook.org/ns/docbook"

xmlns:xi="http://www.w3.org/2001/XInclude"

xmlns:xlink="http://www.w3.org/1999/xlink"

xml:lang="en">

<title>Test</title>

<bookinfo>

<legalnotice>

<para>

Du&#353;an Kazik, Fr&eacute;d&eacute;ric Grollier, Kundr&aacute;t, Jean-S&eacute;bastien P&eacute;dron, J&eacute;r&eacute;my Rosen, …

Thanks

Pierre