ePublisher Platform XSLT Extensions
string RTFColor (string htmlColor)
 
Convert a standard HTML/CSS color to an RTF color.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
htmlColor
The HTML color.
Returns:
RTF color as string.
Convert #FF3399 to an RTF color.
<xsl:varaible name="VarRTFColor" select="wwunits:RTFColor('#FF3399')" />