xsl-list
[Top] [All Lists]

Re: [xsl] recognize character entities

2006-08-30 01:47:03
David Carlisle wrote:

  Hi

If you are using xslt2 then an alternative approach is to use
character maps:
  <xsl:character-map name="toc">
    <xsl:output-character character="±" string="+/-"/>
    <xsl:output-character character="&#8211;" string="-"/>
    <xsl:output-character character="&#8467;" string="l"/>
    <xsl:output-character character="&#967;" string="chi"/>
....

  How can this help to add an attribute to elements containing the
symbols?  If I understood correctly the problem, it is about adding an
attribute that tells to use a specific font in those cases, not to
change the symbols themself.

  Regards,

--drkm

























        
 p4.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 30 08:13:42 GMT 2006 
        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

--~------------------------------------------------------------------
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>
--~--