This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Breaking a document into smaller pieces
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: Rune Enggaard Lausen <rune at enggaard-lausen dot dk>
- Cc: Joachim Ziegler <ziegler at algorilla dot de>, docbook-apps at lists dot oasis-open dot org
- Date: Mon, 17 Feb 2003 16:35:59 +0100
- Subject: Re: DOCBOOK-APPS: Breaking a document into smaller pieces
- References: <3E4B9AC3.9080200@algorilla.de><3E4BBF1C.6070308@enggaard-lausen.dk>
Rune Enggaard Lausen wrote:
At the end of each subdocument, you put a comment similar to
<!--
Local Variables:
mode: xml
sgml-parent-document: ("master-file.xml")
End:
-->
Substitute the name of your file containing the DOCTYPE for
"master-file.xml".
The next time you load the subdocument PSGML knows where to find the
reference to the DTD and everything is great again.
I still have problems with psgml and/or xmllint and German special
characters:
If I don't start my chunk-files, say "chapter1.xml", with an
XML-declaration like
<?xml version="1.0" encoding="ISO-8859-1"?>
I get the following error from xmllint.
xmllint -valid --noout LEDATutorium.xml
chapter1.xml:5: error: Input is not proper UTF-8, indicate encoding !
<title>Auf die Plätze - fertig - los!</title>
Bit if I do so, psgml refuses to read the DTD and says everywehre "no
valid element at thsi point". (I'm using XEmacs; maybe that's the problem?)
Greetings,
Joachim