press-release fdp-pr.xsl,1.7,1.8

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Wed Mar 15 07:10:04 UTC 2006


Author: jtr

Update of /cvs/docs/press-release
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4751

Modified Files:
	fdp-pr.xsl 
Log Message:
Set the "language='${LANG}'" attribute of the <fo:root> element.



Index: fdp-pr.xsl
===================================================================
RCS file: /cvs/docs/press-release/fdp-pr.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fdp-pr.xsl	15 Mar 2006 06:58:54 -0000	1.7
+++ fdp-pr.xsl	15 Mar 2006 07:09:43 -0000	1.8
@@ -16,7 +16,13 @@
   <xsl:param name="font.size.footer">12pt</xsl:param>
 
   <xsl:template match="/">
-    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" language="$lang">
+    <xsl:element name="fo:root">
+      <xsl:attribute name="xmlns:fo">
+        http://www.w3.org/1999/XSL/Format
+      </xsl:attribute>
+      <xsl:attribute name="language">
+        <xsl:value-of select="$lang"/>
+      </xsl:attribute>
       <fo:layout-master-set>
         <fo:simple-page-master master-name="Letter" margin-bottom="0.3in" margin-left="0.3in" margin-right="0.3in" margin-top="0.6in" page-height="11in" page-width="8.5in">
           <fo:region-body margin-bottom="1.5in" margin-left="0.6in" margin-right="0.6in" margin-top="0.5in"/>
@@ -81,7 +87,7 @@
           </fo:block>
         </fo:flow>
       </fo:page-sequence>
-    </fo:root>
+    </xsl:element>
   </xsl:template>
   <xsl:template match="header">
     <fo:block font-weight="bold" keep-with-next="always" space-after="0.25em" space-before="1.0em">




More information about the Fedora-docs-commits mailing list