Revision 31235
Added by Andrea Mannocci about 10 years ago
modules/dnet-eagle-workflows/trunk/src/main/resources/eu/dnetlib/msro/eagle/workflows/xslt/edition/teigap.xsl | ||
---|---|---|
48 | 48 |
|
49 | 49 |
<xsl:template match="t:gap[@reason='omitted']"> |
50 | 50 |
<xsl:param name="parm-edition-type" tunnel="yes" required="no"></xsl:param> |
51 |
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param> |
|
51 | 52 |
<xsl:choose> |
52 | 53 |
<xsl:when test="$parm-edition-type = 'diplomatic'"/> |
54 |
<xsl:when test="$parm-leiden-style = 'panciera'"> |
|
55 |
<xsl:text>〈---〉</xsl:text> |
|
56 |
</xsl:when> |
|
53 | 57 |
<xsl:otherwise> |
54 | 58 |
<xsl:text><</xsl:text> |
55 | 59 |
<xsl:call-template name="extent-string"/> |
... | ... | |
126 | 130 |
<xsl:choose> |
127 | 131 |
<xsl:when |
128 | 132 |
test="$parm-leiden-style = ('ddbdp','sammelbuch') and @unit = 'line' and @extent = 'unknown'"/> |
129 |
<xsl:when test="$parm-leiden-style = 'panceira' and @unit = 'line' and @extent = 'unknown'"/>
|
|
133 |
<xsl:when test="$parm-leiden-style = 'panciera' and @unit = 'line' and @extent = 'unknown'"/>
|
|
130 | 134 |
<xsl:when test="@unit='line'"> |
131 | 135 |
<xsl:text>[</xsl:text> |
132 | 136 |
</xsl:when> |
... | ... | |
178 | 182 |
<xsl:choose> |
179 | 183 |
<xsl:when |
180 | 184 |
test="$parm-leiden-style = ('ddbdp','sammelbuch') and @unit = 'line' and @extent = 'unknown'"/> |
181 |
<xsl:when test="$parm-leiden-style = 'panceira' and @unit = 'line' and @extent = 'unknown'"/>
|
|
185 |
<xsl:when test="$parm-leiden-style = 'panciera' and @unit = 'line' and @extent = 'unknown'"/>
|
|
182 | 186 |
<xsl:when test="@unit='line'"> |
183 | 187 |
<xsl:text>]</xsl:text> |
184 | 188 |
</xsl:when> |
... | ... | |
256 | 260 |
<xsl:when test="$parm-leiden-style = 'edh-itx'"> |
257 | 261 |
<xsl:text>3</xsl:text> |
258 | 262 |
</xsl:when> |
259 |
<xsl:when test="$parm-leiden-style = 'panciera' or $parm-leiden-style = 'edh-names'">
|
|
263 |
<xsl:when test="$parm-leiden-style = 'edh-names'"> |
|
260 | 264 |
<xsl:text>---</xsl:text> |
261 | 265 |
</xsl:when> |
266 |
<xsl:when test="$parm-leiden-style = 'panciera'"> |
|
267 |
<xsl:choose> |
|
268 |
<!-- lines lost --> |
|
269 |
<xsl:when test="@reason='lost' and @unit='line'"> |
|
270 |
<xsl:text>------</xsl:text> |
|
271 |
</xsl:when> |
|
272 |
<!-- unknown charcaters lost--> |
|
273 |
<xsl:when test="@reason='lost' and @unit='character'"> |
|
274 |
<xsl:text>---</xsl:text> |
|
275 |
</xsl:when> |
|
276 |
</xsl:choose> |
|
277 |
</xsl:when> |
|
262 | 278 |
<xsl:otherwise> |
263 |
<xsl:text> - - - </xsl:text>
|
|
279 |
<xsl:text>---</xsl:text>
|
|
264 | 280 |
</xsl:otherwise> |
265 | 281 |
</xsl:choose> |
266 | 282 |
</xsl:when> |
... | ... | |
456 | 472 |
<xsl:text>---</xsl:text> |
457 | 473 |
</xsl:when> |
458 | 474 |
<xsl:when test="$parm-leiden-style = 'panciera' and not(following-sibling::t:lb)"> |
459 |
<xsl:text>- - - - - -</xsl:text>
|
|
475 |
<xsl:text>------</xsl:text>
|
|
460 | 476 |
</xsl:when> |
461 | 477 |
<xsl:when test="$parm-leiden-style = 'edh-itx'"> |
462 | 478 |
<xsl:choose> |
... | ... | |
472 | 488 |
</xsl:choose> |
473 | 489 |
</xsl:when> |
474 | 490 |
<xsl:otherwise> |
475 |
<xsl:text> - - - - - - - - - - </xsl:text>
|
|
491 |
<xsl:text>------</xsl:text>
|
|
476 | 492 |
</xsl:otherwise> |
477 | 493 |
</xsl:choose> |
478 | 494 |
</xsl:when> |
Also available in: Unified diff
pietro's fix for edition XSLTs