Issue with xsl (xslfo)

I have this and it works great:

<?xml version="1.0" encoding="utf-8"?><!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<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:template match="br"><br/></xsl:template>

</xsl:stylesheet>

My problem is that I want to include xslfo as well. I tried using an include to a seperate .xsl file I tried embedding it within the transform .xsl. I’m thinking I have it, but I may be putting it in the wrong place…

BTW, here is my xslfo:

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">


<xsl:template match="p">
  <fo:block><xsl:apply-templates/></fo:block>
</xsl:template>

<xsl:template match="i">
  <fo:inline font-style="italic"><xsl:apply-templates/></fo:inline>
</xsl:template>

<xsl:template match="b">
  <fo:inline font-style="bold"><xsl:apply-templates/></fo:inline>
</xsl:template>

</fo:root>

Very simply put, I need to have BOLD and ITALIC work using <b> <i> in the XML.

Thanks for any input

I got it all in one document, I’m not getting errors, but I’m also not getting BOLD or ITALIC…

<?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="b">
    <fo:inline font-style="bold">
      <xsl:apply-templates />
    </fo:inline>
  </xsl:template>
  <xsl:template match="i">
    <fo:inline font-style="italic">
      <xsl:apply-templates />
    </fo:inline>
</xsl:template>

<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:template match="br"><br/></xsl:template>

</xsl:stylesheet>

I put <i></i> tags in my xml and so no change… Any ideas why?

bump!!haha--------------------------------our wow gold site:buy wow gold, cheap [url=http://www.wowgoldcc.cn/wowgoldworld.htm]wow gold, free [url=http://www.wowgoldcc.cn/Newplayers.htm]wow gold,