Hi,

What's wrong with the entities encoded into hex numbers (e.g. Ä ==
Ä == Ä)? Every browser should be able to display them.

If you really need to have Ä in your output the only solution which
comes to my mind at the moment is to register an
"AxAddOutputTransformer".

You could use HTML::Entities to convert from Ä => Ä => Ä which
is really nasty but it should work.
--------------------------8<--------------------------
package MyModule;

use HTML::Entities;

sub Transformer 
{
    return &HTML::Entities::encode_entities(   
                &HTML::Entities::decode_entities( shift ) 
           );
}

1;
--------------------------8<--------------------------

Please note that entities like &Auml; are defined within the
(X)HTML-DTDs which means you'll have to/should include something like
this into the generated (X)HTML-File:
--------------------------8<--------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
--------------------------8<--------------------------

See also http://www.w3.org/TR/xhtml1/#h-A2.

Tom

Am Mon, 2003-05-26 um 21.37 schrieb Richard Weiss:
> Hi there,
> 
> I'm using Axkit to generate HTML from XML with XSLT. No problem so far,
> everything works fine (Axkit works great and very stable), but how can I
> tell Axkit (or the xslt-proc) to produce html-pages with
> html-character-entities (like &auml; for german umlaute)? The xml-files
> and stylesheets are ISO-8859-15 encoded and the <xsl:output>
> encoding-attribute is also set to this encoding value. Any ideas? Thank
> you ...
> 
> richard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to