Next in thread → Next in month →

RE: [docbook-apps] character in procedure list heading in html

From
Mauritz Jeanson <>
Date
2007-03-14T16:40:51+00:00
ID
000001c76657$79938f50$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] character in procedure list heading in html
> -----Original Message-----
> From: Hinrich Aue 
> 
>    <xsl:text>&rtrif; </xsl:text>
> 
  
> 
> But the &rtrif; is an unknown entity.
> 
> Can I use these entities in my chm/html files?


I assume that you expect to see a small triangle in the output, since rtrif
is the ISO entity for the Unicode character U+25B8 BLACK RIGHT-POINTING
SMALL TRIANGLE. 

Yes, you can use an entity in a stylesheet (I suppose that is what you
mean), but then you have to declare it first:

<!DOCTYPE xsl:stylesheet [
<!ENTITY rtrif '&#x25B8;'>
]>

But if you use a character reference instead, you don't have to declare
anything. Just replace &rtrif; with &#x25B8;.

/MJ
Next in thread → Next in month →