This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: Character entities


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Gisbert Amm <gia at webde-ag dot de> was heard to say:
|> Hello,
|> 
|> Tiny question: When I try to render a simple Docbook article, made in
|> XMLSpy, FOP states: Entity 'euml' not defined
|> 
|> Somewhere in my XML is the text: defini&euml;ren
|> 
|> How can I configure FOP to use these entities?
| You have to declare the entity before using it. E.g.:
|
| <?xml version='1.0' encoding='ISO-8859-1'?>
| <!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN'
| 'docbookx.dtd' [
| <!ENTITY euml 'your_definition_here'>
| ]>

Actually, if you use DocBook you get all those entities by default. My
guess is that your document doesn't have any doctype declaration at
all. Add one and you should (1) find any errors that you might have
made and (2) get entities.

OTOH, I'm not sure how you got &euml; all the way through to the FO file.
So maybe I'm confused.


                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw at nwalsh dot com>      | Those who abandon their dreams
http://www.oasis-open.org/docbook/ | will discourage yours.
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+jT8/OyltUcwYWjsRAlwTAJ9EFYv78qqCoQqiornONEHlAX+nJQCffWam
9HbGz9u2OaVhc1WMvvAqzRQ=
=f/sm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]