comparison software/eXist/webapp/mpdl/presentation/functions-mpdl.xsl @ 13:469d927b9ca7

diverse Fehlerbehebungen
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Tue, 19 Apr 2011 16:51:59 +0200
parents d6f528ad5d96
children
comparison
equal deleted inserted replaced
12:fba5577e49d9 13:469d927b9ca7
68 <xsl:otherwise> 68 <xsl:otherwise>
69 <img title="Figure: {$fullFigureFileName} not scanned" alt="Figure: {$fullFigureFileName} not scanned" src="images/camera.png" width="30" height="30" border="0"/> 69 <img title="Figure: {$fullFigureFileName} not scanned" alt="Figure: {$fullFigureFileName} not scanned" src="images/camera.png" width="30" height="30" border="0"/>
70 </xsl:otherwise> 70 </xsl:otherwise>
71 </xsl:choose> 71 </xsl:choose>
72 </xsl:variable> 72 </xsl:variable>
73 <xsl:variable name="figureText" select="concat('[Figure: ', $figureNumber, ']')"/> 73 <xsl:variable name="figureText" select="concat('[Figure ', $figureNumber, ']')"/>
74 <div class="{$class}" style="{$style}"> 74 <div class="{$class}" style="{$style}">
75 <xsl:if test="$figureCaption != ''"><xsl:sequence select="$figureCaption"/><br/></xsl:if>
76 <xsl:sequence select="$figureContent"/> 75 <xsl:sequence select="$figureContent"/>
77 <br/> 76 <br/>
78 <xsl:value-of select="$figureText"/> 77 <xsl:value-of select="$figureText"/>
79 <xsl:if test="$figureDescription != ''"><xsl:value-of select="': '"/><xsl:sequence select="$figureDescription"/></xsl:if> 78 <xsl:if test="$figureCaption != ''"><xsl:value-of select="': '"/><xsl:sequence select="$figureCaption"/><br/></xsl:if>
80 <xsl:if test="$figureVariables != ''"><xsl:value-of select="'(Variables: '"/><xsl:sequence select="$figureVariables"/><xsl:value-of select="')'"/></xsl:if> 79 <xsl:if test="$figureDescription != ''"><xsl:sequence select="$figureDescription"/><br/></xsl:if>
80 <xsl:if test="$figureVariables != ''"><xsl:sequence select="$figureVariables"/></xsl:if>
81 </div> 81 </div>
82 </xsl:function> 82 </xsl:function>
83 83
84 <xsl:function name="mpdl:showHandwritten"> 84 <xsl:function name="mpdl:showHandwritten">
85 <xsl:param name="fileName"/> 85 <xsl:param name="fileName"/>
87 <xsl:variable name="handwrittenText" select="'[Handwritten]'"/> 87 <xsl:variable name="handwrittenText" select="'[Handwritten]'"/>
88 <div class="handwritten"> 88 <div class="handwritten">
89 <img title="Handwritten: {$href} not scanned" alt="Handwritten: {$href} not scanned" src="images/camera.png" width="30" height="30" border="0"/> 89 <img title="Handwritten: {$href} not scanned" alt="Handwritten: {$href} not scanned" src="images/camera.png" width="30" height="30" border="0"/>
90 <br/> 90 <br/>
91 <xsl:value-of select="$handwrittenText"/> 91 <xsl:value-of select="$handwrittenText"/>
92 <p/> 92 <br/>
93 </div> 93 </div>
94 </xsl:function> 94 </xsl:function>
95 95
96 96
97 </xsl:stylesheet> 97 </xsl:stylesheet>