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

Bug#700515: minor xslt fix



tags 700515 + patch
thanks

Hi,

I think the attached patch fixes this issue.

Regards

Markus Wanner
Index: xsl/pts.xsl
===================================================================
--- xsl/pts.xsl	(revision 2950)
+++ xsl/pts.xsl	(working copy)
@@ -299,7 +299,14 @@
       <dt title="Standards-Version">std-ver</dt>
       <dd>
 	<span id="standards_version">
-	  <xsl:value-of select="standards-version"/>
+	  <xsl:choose>
+	    <xsl:when test="string-length(standards-version) = 0">
+	      <xsl:text>n/a</xsl:text>
+	    </xsl:when>
+	    <xsl:otherwise>
+	      <xsl:value-of select="standards-version"/>
+	    </xsl:otherwise>
+	  </xsl:choose>
 	</span>
       </dd>
 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: