RE: Character entities

From
Gisbert Amm <>
Date
2003-04-08T08:32:40+00:00
ID
Thread
RE: Character entities
> / Gisbert Amm <> 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
Surprised to read my name here :-) I was not the one asking this question.
However, it's answered, and that's what counts.

Kind regards,
Gisbert Amm