Text version of Release Notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Paul!

Please look into attached patch. It helps me to generate Russian 
text version of Release Notes with localized special items.

It allows preserve "lang" atribute for <article> tag within RELEASE-NOTES.stripped.xml.
So "Table of contents" and "the section called" replaced for translated version.

Index: ../docs-common/packaging/strip-for-txt.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/strip-for-txt.xsl,v
retrieving revision 1.1
diff -r1.1 strip-for-txt.xsl
32c32
<     <xsl:element name="article">
---
>     <xsl:element name="article"><xsl:attribute name="lang"><xsl:value-of select="@lang" /></xsl:attribute>


-- 
Andrew Martynov
Inventa

phone +7(095)7758777
fax   +7(095)9270981
http://www.rhd.ru
andrewm@xxxxxxxxxx
--- ../docs-common/packaging/strip-for-txt.xsl  17 Feb 2006 03:36:54 -0000      1.1
+++ ../docs-common/packaging/strip-for-txt.xsl  14 Mar 2006 20:58:00 -0000
@@ -29,7 +29,7 @@
   </xsl:template>

   <xsl:template match="/article">
-    <xsl:element name="article">
+    <xsl:element name="article"><xsl:attribute name="lang"><xsl:value-of select="@lang" /></xsl:attribute>
       <xsl:for-each select="*">
        <xsl:choose>
          <xsl:when test="self::articleinfo">
-- 

fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux