Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Category) (Category) Java Apache Project : (Category) Cocoon :
How do I add special characters to my XSL template?


----------
From: Arkin arkin@trendline.co.il
To: Cocoon cocoon@list.working-dogs.com
Subject: Re: 
Date: Tue, Mar 23, 1999, 7:28 AM


If you're using OpenXML 1.0.4 you can include the XHTML 1.0 entity
references in an XML document. That would allow you to use  ,
ë and all the other character sets supported by HTML 4.0.
Typically, you would do something like this in your DTD:

<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLlat1x.ent">
%HTMLlat1;
<!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLspecialx.ent">
%HTMLsymbol;
<!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLsymbolx.ent">
%HTMLspecial;


Arkin


Thierry Coopman wrote:
> 
> Hi,
> 
> An odd question: How can I include special caracters in the xsl template
> 
> (&nbsp; &euml; etc etc)
> 
> I really need this because we have more than one language in Belgium :(((
> --
> Thierry Coopman - THieRRy@sKyNet.be -
> My opinions are personal, and have really nothing or nothing to do
> with Belgacom Skynet!
> 
> I realise computers suck. The only reason why they are a hobby
> of mine is because I enjoy pain!
Subcategories:

Answers in this category:

Subcategories:

Answers in this category:

[Add a New Answer in "How do I add special characters to my XSL template?"]
Next: (Answer) How do I get Cocoon 1.1.1 to work with JRun 2.3?
This document is: http://java.apache.org/faq/?file=64
[Search] [Appearance] [Show This Entire Category] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.