docs-common/packaging omf.xsl,1.8,1.9

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Aug 5 04:29:44 UTC 2006


Author: pfrields

Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20897

Modified Files:
	omf.xsl 
Log Message:
Get rid of superfluous junk and use the real description instead of title



Index: omf.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/omf.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- omf.xsl	11 Apr 2006 20:24:26 -0000	1.8
+++ omf.xsl	5 Aug 2006 04:29:41 -0000	1.9
@@ -27,7 +27,7 @@
         />
         <subject category="General|Linux|Distributions|Other"/>
         <description>
-          <xsl:call-template name="get-title"/>
+          <xsl:call-template name="get-desc"/>
         </description>
         <type>
           <xsl:call-template name="get-title"/>
@@ -51,14 +51,6 @@
     </omf>
   </xsl:template>
 
-  <xsl:template name="get-title">
-    <xsl:for-each select="/rpm-info/titles/translation">
-      <xsl:choose>
-        <xsl:when test="@lang = $lang">
-          <xsl:value-of select="title"/>
-        </xsl:when>
-      </xsl:choose>
-    </xsl:for-each>
-  </xsl:template>
+  <xsl:include href="templates.xsl"/>
 
 </xsl:stylesheet>




More information about the docs-commits mailing list