Advertisement
legacyking

Untitled

Oct 27th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <xsl:if test="string-length(portrait/portrait) &gt; 0">
  2.                         <fo:table-cell/>
  3.                         <fo:table-cell number-rows-spanned="6">
  4.                             <xsl:call-template name="attrib">
  5.                                 <xsl:with-param name="attribute" select="'picture'"/>
  6.                             </xsl:call-template>
  7.                             <fo:block>
  8.                                 <xsl:variable name="portrait_file" select="portrait/portrait_thumb"/>
  9.                                 <fo:external-graphic src="file:{$portrait_file}">
  10.                                     <xsl:attribute name="column-width"><xsl:value-of select="($pagePrintableWidth - 14) div 8" />mm</xsl:attribute>
  11.                                 </fo:external-graphic>
  12.                             </fo:block>
  13.                         </fo:table-cell>
  14.                     </xsl:if>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement