← Prev in month
← Prev in thread
RE: DOCBOOK-APPS: —
I don't understand what happens to character entities. I have a document with é and —. When I convert it to HTML with the XSL DocBook stylsheets, they pass through unchanged. When I view the XML with Netscape 6PR1, nothing is displayed (although View Source shows é and —). I changed an é to é. When I convert it to HTML, it shows up as é. When I view it with NS6, it shows up as é. Likewise for — and —. What's doing the conversion: xt, the XSL stylesheets, the DTD, or the browser? My ulterior motive is to the opposite of John's. I want "--" in HTML, because Netscape 4.x doesn't recognize —. In short, <aol>Me, too!</aol>. At 02:35 PM 6/29/00 -0400, wrote: >Thanks for the answer. But, I actually want my XML data to still have — and when I convert it using XSL, I'd prefer to have the — replaced as 舒 instead of -- > >-----Original Message----- >From: [mailto:] >Sent: Thursday, June 29, 2000 10:46 AM >To: Prabhu, John >Cc: >Subject: Re: DOCBOOK-APPS: — > >On 27 Jun 2000 wrote: > >> I'd like to replace — with the hex decimal value 舒 >> Currently, the XSL is converting this — as two hyphens (--), but >> I prefer to have it as 舒 Could someone help me in which file >> and and what exact change I should do? > >One possible solution is to redefine — in the internal markup >section. This definition will override one defined in the DocBook >DTD. E.g.: > ><!DOCTYPE book "...." [ ><!ENTITY mdash "舒"> >]> ><book> > ... ></book> > >----------------------------------------------------------------- > Jirka Kosek > e-mail: > http://www.kosek.cz -- Jon Willeke, Quality Engineer InterSystems Corp. One Memorial Drive, Cambridge, MA 02142
← Prev in month
← Prev in thread