You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@apache.org on 2001/02/13 19:20:38 UTC
cvs commit: xml-xalan/java/xdocs/style/stylesheets xml2fo.xsl
dleslie 01/02/13 10:20:36
Modified: java/xdocs/style/stylesheets xml2fo.xsl
Log:
Added processing for <source> elements, i.e., code.
Revision Changes Path
1.11 +8 -1 xml-xalan/java/xdocs/style/stylesheets/xml2fo.xsl
Index: xml2fo.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/style/stylesheets/xml2fo.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xml2fo.xsl 2001/01/29 20:29:02 1.10
+++ xml2fo.xsl 2001/02/13 18:20:34 1.11
@@ -372,7 +372,14 @@
</fo:basic-link>
</xsl:template>
-
+<xsl:template match ="source">
+ <fo:block font-size="10pt"
+ font-family="Courier"
+ text-align="start"
+ white-space-collapse="false">
+ <xsl:apply-templates/>
+ </fo:block>
+</xsl:template>
<!-- code -->
<xsl:template match ="*/code">