| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!-- This file is part of the DITA Open Toolkit project hosted on
- Sourceforge.net. See the accompanying license.txt file for
- applicable licenses.-->
- <!-- (c) Copyright IBM Corp. 2005 All Rights Reserved. -->
- <xsl:stylesheet version="2.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text"/>
- <xsl:template match="*[contains(@class,' hi-d/b ')]">
- <xsl:call-template name="inline-em"/>
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/i ')]">
- {\i <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/u ')]">
- {\ul <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/tt ')]">
- {\f5 <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/sup ')]">
- {\super <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/sub ')]">
- {\sub <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/line-through ')]">
- {\strike <xsl:apply-templates/>}
- </xsl:template>
- <xsl:template match="*[contains(@class,' hi-d/overline ')]">
- <!-- RTF does not support overline -->
- <xsl:apply-templates/>
- </xsl:template>
- </xsl:stylesheet>
|