[Yanel-commits] rev 26113 - public/yanel/trunk/src/contributions/resources/pdf/xslt

michi at wyona.com michi at wyona.com
Wed Jul 18 14:50:05 CEST 2007


Author: michi
Date: 2007-07-18 14:50:05 +0200 (Wed, 18 Jul 2007)
New Revision: 26113

Modified:
   public/yanel/trunk/src/contributions/resources/pdf/xslt/xml2fo.xsl
Log:
simple XSLT cleaned

Modified: public/yanel/trunk/src/contributions/resources/pdf/xslt/xml2fo.xsl
===================================================================
--- public/yanel/trunk/src/contributions/resources/pdf/xslt/xml2fo.xsl	2007-07-18 12:38:14 UTC (rev 26112)
+++ public/yanel/trunk/src/contributions/resources/pdf/xslt/xml2fo.xsl	2007-07-18 12:50:05 UTC (rev 26113)
@@ -1,19 +1,22 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet 
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:fo="http://www.w3.org/1999/XSL/Format"
-  version="1.0">
+  xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+<!--
   <xsl:output method="xml"/>
+-->
 
   <xsl:template match="/">
     <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
       <fo:layout-master-set>
         <fo:simple-page-master master-name="simple"
-          page-height  ="29.7cm"   
-          page-width   ="21cm"
-          margin-left  ="2.5cm"
-          margin-right ="2.5cm">
+              page-height  ="29.7cm"   
+              page-width   ="21cm"
+              margin-left  ="2.5cm"
+              margin-right ="2.5cm">
           <fo:region-body margin-top="3cm"/>
         </fo:simple-page-master>
       </fo:layout-master-set>
@@ -21,6 +24,10 @@
       <fo:page-sequence master-reference="simple">
         <fo:flow flow-name="xsl-region-body">
           <xsl:apply-templates/>
+    <fo:block>
+HUGO
+      <xsl:apply-templates/>
+    </fo:block>
         </fo:flow>
       </fo:page-sequence>
 
@@ -53,4 +60,3 @@
   </xsl:template>
 
 </xsl:stylesheet>
-



More information about the Yanel-commits mailing list