xsl-list
[Top] [All Lists]

Re: XSLT-Numerical character entity output

2004-05-27 02:36:20
  I am trying to generate an xhtml+mathml document in which the more 
  esoteric maths characters are represented in the output by their decimal 
  numeric entities rather than the character.

Beware numeric character references are not entity references.

The simplest way to do this from XSLT is to just output in an encoding
that does not contain the characters, ie replace
 encoding="utf-8" 

by US-ASCII or iso-8859-1

David

-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>