]> granicus.if.org Git - docbook-dsssl/commitdiff
Simplify chunk-element-content; no semantic differences
authorNorman Walsh <ndw@nwalsh.com>
Sun, 6 Oct 2002 21:13:37 +0000 (21:13 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 6 Oct 2002 21:13:37 +0000 (21:13 +0000)
xsl/html/chunk-common.xsl

index 4d1a5a9b61daddf1da1d4b1a9bf9953e9ac7514d..3726b2f0b9a60249358a05975e8a4ca549a23395 100644 (file)
   <xsl:param name="prev"/>
   <xsl:param name="next"/>
   <xsl:param name="nav.context"/>
-  <xsl:param name="content"/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
 
   <html>
     <xsl:call-template name="html.head">
 
       <xsl:call-template name="user.header.content"/>
 
-      <xsl:choose>
-        <xsl:when test="$content">
-          <xsl:copy-of select="$content"/>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:apply-imports/>
-        </xsl:otherwise>
-      </xsl:choose>
+      <xsl:copy-of select="$content"/>
 
       <xsl:call-template name="user.footer.content"/>