aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-08-11 17:48:21 +0000
committerfotis <fotis@unknown>2000-08-11 17:48:21 +0000
commit1c2624b8c629789c03437137e033464cda09583c (patch)
treeeaf4026712a0a7a951516719969c4d9907c03a32 /docs/xml-docs
parent339e76ee8cd8e39ffe695b982138b56bf65010bd (diff)
downloadxmlgraphics-fop-1c2624b8c629789c03437137e033464cda09583c.tar.gz
xmlgraphics-fop-1c2624b8c629789c03437137e033464cda09583c.zip
updated to conform to xsl dtd as provided by N. Grigoriev
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs')
-rw-r--r--docs/xml-docs/xml2pdf.xsl19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/xml-docs/xml2pdf.xsl b/docs/xml-docs/xml2pdf.xsl
index 0d3ce7472..1135ccfb2 100644
--- a/docs/xml-docs/xml2pdf.xsl
+++ b/docs/xml-docs/xml2pdf.xsl
@@ -1,4 +1,5 @@
<?xml version="1.0"?>
+
<!-- XSLT stylesheet to convert the Fop documentation collected in one xml file into a fo file
for use in FOP
@@ -24,26 +25,26 @@ TBD: - The faq doesn't show in the content
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
- height="29.7cm"
- width="21cm"
+ page-height="29.7cm"
+ page-width="21cm"
margin-top="1.5cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
- <fo:region-before extent="1.5cm"/>
<fo:region-body margin-top="3cm"/>
+ <fo:region-before extent="1.5cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="rest"
- height="29.7cm"
- width="21cm"
+ page-height="29.7cm"
+ page-width="21cm"
margin-top="1.5cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
- <fo:region-before extent="1.5cm"/>
<fo:region-body margin-top="2.5cm"/>
+ <fo:region-before extent="1.5cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
@@ -250,10 +251,10 @@ TBD: - The faq doesn't show in the content
<!-- code -->
<xsl:template match ="*/code">
- <fo:inline-sequence font-size="10pt"
+ <fo:inline font-size="10pt"
font-family="Courier">
<xsl:apply-templates/>
- </fo:inline-sequence>
+ </fo:inline>
</xsl:template>
@@ -285,7 +286,7 @@ TBD: - The faq doesn't show in the content
<xsl:template match ="ul/li">
<fo:list-item>
<fo:list-item-label>
- <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ <fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block space-after.optimum="4pt"