Re: DocBook FO stylesheet for xmlroff?
Tim Waugh <[email protected]>
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
I managed to get some output (hurray!) by adding this bit to the
libfo-compat.xsl style sheet:
--- /usr/share/xml/libfo-0.3.1/libfo-compat.xsl 2005-03-09 15:21:42.000000000 +0000
+++ libfo-compat.xsl 2005-03-09 17:51:33.000000000 +0000
@@ -579,6 +579,12 @@
<xsl:apply-templates/>
</xsl:template>
+ <xsl:template match="fo:region-body/@region-name">
+ <xsl:if test="$verbose">
+ <xsl:message>Removing 'fo:region-body' region-name attribute.</xsl:message>
+ </xsl:if>
+ </xsl:template>
+
<xsl:template match="fo:float">
<xsl:if test="$verbose">
<xsl:message>Removing unsupported 'fo:float'.</xsl:message>
Tim.
*/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click