Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released
<xsl:stylesheet xmlns:bib="http://purl.org/NET/xbiblio/citeproc" xmlns:db="http://docbook.org/ns/docbook" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdoc="http://www.pnp-software.com/XSLTdoc" xmlns:cite="http://purl.org/NET/xbiblio/cite" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="db xdoc xs bib cite" version="2.0">
<xsl:preserve-space elements="bib:*" />
<xdoc:doc type="stylesheet">
<xdoc:short>OutputdriverforFO.Needstobeenhanced,sinceIdon’tknow
FOwellatall.
</xdoc:short>
<xdoc:svnId>$Id: out-driver-fo.xsl.src.html,v 1.2 2005/11/21 22:23:53 dnw Exp $</xdoc:svnId>
</xdoc:doc>

<xsl:template match="bib:p[@class='bibref']" mode="output-fo">
<fo:block id="{@id}" class="bibref">
<xsl:apply-templates mode="output-fo" />
</fo:block>
</xsl:template>
<xsl:template match="bib:span" mode="output-fo">
<fo:inline class="{@class}">
<xsl:apply-templates select="@font-weight" mode="output-fo" />
<xsl:apply-templates select="@font-style" mode="output-fo" />
<xsl:apply-templates mode="output-fo" />
</fo:inline>
</xsl:template>
<xsl:template match="bib:a" mode="output-fo">
<fo:basic-link class="{@class}" internal-destination="{@href}">
<xsl:apply-templates select="@font-weight" mode="output-fo" />
<xsl:apply-templates select="@font-style" mode="output-fo" />
<xsl:apply-templates mode="output-fo" />
</fo:basic-link>
</xsl:template>
<xsl:template match="bib:span/@font-weight" mode="output-fo">
<xsl:attribute name="font-weight">
<xsl:value-of select="." />
</xsl:attribute>
</xsl:template>
<xsl:template match="bib:span/@font-style" mode="output-fo">
<xsl:attribute name="font-style">
<xsl:value-of select="." />
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>






































v

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.