[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: dash
From: YueMa <may@xxxxxxxxxxxxxxxx>
Date: Wed, 14 Mar 2001 12:25:33 -0500
Thanks guys!
And this is not a question, when I view the &#x2013; with Netscape on Solaris,
I can not see the correct dash but a question mark if I set character set as
UTF-8.
Both &#150; and &#8211; just work fine for character set ISO-8859-1
And I'm just wondering how many people really use UTF-8 for their browser.....
:-)

Regards
Yue

Peter Flynn wrote:

> On Tue, 13 Mar 2001, Wendell wrote:
> > At 05:43 PM 3/13/01 -0500, Yue wrote:
> > >Hi there,
> > >How can I use the "dash" character in XSL?
> > >I know I can use "&#150;" in XML but it doesn't work if I put it in my
> > >XSL.
> >
> > A character entity such as &#150; should work fine. (I'm taking your word
> > for it that it's the dash :-)
>
> Be careful, Yue: 0150 is an en-dash or en-rule (a short dash used
> between ranged of numbers, sometimes typed like 36--45). What
> most people call "the dash" --- used between phrases like this
> --- is an em-dash or em-rule and is code point 0151, not 0150.
> Better still, use the typographic characters if your rendering
> system supports them:
>
> <!ENTITY ndash  "&#x2013;"> <!-- EN DASH -->
> <!ENTITY mdash  "&#x2014;"> <!-- EM DASH -->
>
> ///Peter
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • dash
    • YueMa - Tue, 13 Mar 2001 17:44:38 -0500 (EST)
      • Wendell Piez - Tue, 13 Mar 2001 18:01:39 -0500 (EST)
        • Peter Flynn - Tue, 13 Mar 2001 19:39:48 -0500 (EST)
          • Mike Brown - Wed, 14 Mar 2001 00:19:32 -0500 (EST)
          • YueMa - Wed, 14 Mar 2001 12:27:01 -0500 (EST) <=
          • David Carlisle - Wed, 14 Mar 2001 13:05:13 -0500 (EST)
          • YueMa - Wed, 14 Mar 2001 15:01:26 -0500 (EST)
          • Mike Brown - Thu, 15 Mar 2001 02:25:02 -0500 (EST)
          • Chris Bayes - Thu, 15 Mar 2001 03:17:04 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member