Re: ouml was referenced but not declared

torsten krohn | tsdb | the simpsons database wrote:

>Hi!
>
>I use test.xml and test.xsl to produce a pdf. Within xml it's:
>...
><Text>
>bla &amp; bla f&ouml;r bla
></Text>
>...
>
>Error message:
>; SystemID: file:///test.xml Line#: ...
>javax.xml.transform.TransformerException: The entity "ouml" was
>referenced, but not declared.
>
>How can I handle such html special characters? &amp; seems to be okay.
>  
>
Torsten,

&amp; (among some others) is 'built into' XML. All other entities must 
be defined. On way to do this is via an internal DTD subset or by
using an external DTD that defines the entity (in your case HTML).

HTH,

Jan

>Thank you!
>Torsten Krohn
>
>
>
>  
>


-- 
Jan Algermissen
Consultant & Programmer
http://jalgermissen.com

Received on Wednesday, 20 April 2005 11:25:07 UTC