xsl-list
[Top] [All Lists]

Re: Is there a way to display entities callouts in both IE and Mozilla?

2004-11-11 03:51:42
      <!ENTITY mdash "&#151;">

  Yup: it's not the stylesheet that contains the entity that must be 
  resolved, but the document. So your DOCTYPE declaration needs to be in the 
  document.

except that you also need an xml parser that chooses to read external
parts of the dtd so that's not mozilla.

Of course there is no need to put the entity in the result you can
justbut the character there directly which makes things much simpler.

note however that mdash isn't character 151 (which isn't a printing
character at all) it is character 8212 that you want.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--