Page is a not externally linkable
- Code, Content, and Presentation
-- XML Development
---- Italic not showing up xsl


hey_suburbia - 3:43 pm on Jul 10, 2008 (gmt 0)


I'll try to clear this up a bit:
Here is my entire .xsl file (it all works great).
I just want to have the ability to make words italic inside of <description>

<?xml version="1.0" encoding="utf-8"?><!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html" encoding="utf-8"/>

<xsl:template match="/">
<xsl:for-each select="bios/bio">
<div id="bios">
<div style="float:left; padding-right:12px;"><img src="bios/im/{image}"/></div>
<h4><xsl:value-of select="name"></xsl:value-of></h4>
<br />
<h5><xsl:value-of select="title"></xsl:value-of></h5>
<br /><br />
<div style="text-align:justify"><xsl:value-of select="description"/></div>
<br /><br />
<span class="bio_comment"><xsl:apply-templates select="comment"/></span>
</div>
<br /><br /><br />

</xsl:for-each>
</xsl:template>

</xsl:stylesheet>


Thread source:: http://www.webmasterworld.com/xml/3693731.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com