<xsl:preserve-space elements="bib:*" />
<xsl:template match="bib:item[@class='bibref']" mode="output-xhtml">
<p id="{@id}" class="bibref">
<xsl:apply-templates mode="output-xhtml" />
</p>
</xsl:template>
<xsl:template match="bib:span" mode="output-xhtml">
<span class="{@class}">
<xsl:if test="@font-weight or @font-style">
<xsl:attribute name="style">
<xsl:apply-templates select="@font-weight" />
<xsl:apply-templates select="@font-style" />
</xsl:attribute>
</xsl:if>
<xsl:apply-templates mode="output-xhtml" />
</span>
</xsl:template>
<xsl:template match="bib:a" mode="output-xhtml">
<a class="{@class}" href="{@href}">
<xsl:if test="@font-weight or @font-style">
<xsl:attribute name="style">
<xsl:apply-templates select="@font-weight" />
<xsl:apply-templates select="@font-style" />
</xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</a>
</xsl:template>
<xsl:template match="bib:span/@font-weight">
<xsl:text>font-weight: </xsl:text>
<xsl:value-of select="." />
</xsl:template>
<xsl:template match="bib:span/@font-style">
<xsl:text>font-style: </xsl:text>
<xsl:value-of select="." />
</xsl:template>
</xsl:stylesheet>
v


