]> granicus.if.org Git - docbook-dsssl/commitdiff
Add comment about span not working in most FO processor because
authorBob Stayton <bobs@sagehill.net>
Tue, 28 Oct 2003 17:38:04 +0000 (17:38 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 28 Oct 2003 17:38:04 +0000 (17:38 +0000)
not on a child of fo:flow.

xsl/fo/formal.xsl

index cc53e0a5198982110759e4cabefc448cda2f4c1e..22f9dc2ff3f88a952b0182c4f2762a9c2486b5ec 100644 (file)
     <xsl:choose>
       <xsl:when test="$align != ''">
         <fo:block>
-         <xsl:attribute name="text-align">
-           <xsl:value-of select="$align"/>
-         </xsl:attribute>
+          <xsl:attribute name="text-align">
+            <xsl:value-of select="$align"/>
+          </xsl:attribute>
           <xsl:call-template name="formal.object">
             <xsl:with-param name="placement" select="$placement"/>
           </xsl:call-template>
       <xsl:variable name="olist" select="mediaobject/imageobject
                      |mediaobject/imageobjectco
                      |mediaobject/videoobject
-                    |mediaobject/audioobject
+                     |mediaobject/audioobject
                     |mediaobject/textobject"/>
 
       <xsl:variable name="object.index">
     <xsl:when test="@orient='land'">
       <fo:block-container reference-orientation="90">
         <fo:block>
+         <!-- Such spans won't work in most FO processors since it does
+              not follow the XSL spec, which says it must appear on
+              an element that is a direct child of fo:flow.
+              Some processors relax that requirement, however. -->
           <xsl:attribute name="span">
             <xsl:choose>
               <xsl:when test="@pgwide=1">all</xsl:when>