<xsl:iftest="(matches(@n, '^fol. 199v-200r$') and contains(//tei:title, 'München 1611')) or (matches(@n, '^fol. 50v$') and contains(//tei:title, 'München 1636'))">
<xsl:iftest="(matches(@n, '^fol. 199v-200r$') and contains(//tei:title, 'München 1611')) or (matches(@n, '^fol. 50v$') and contains(//tei:title, 'München 1636')) or (matches(@n, '(^fol\. 3[5-7][0-9]v-3[5-7][0-9]r$)') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615'))">
<!-- vorläufig - kann wegfallen, wenn Stellenkommentar gekürzt wird: -->
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (5r|22v|23v|29v|34v|40v|56v)$') and contains(//tei:title, 'Eichstätt 1611')) or (matches(ancestor::tei:pb/@n, '^fol. (12v|18v|24v|31v|36r|39v|42r)$') and contains(//tei:title, 'Regensburg 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (265r)$') and contains(//tei:title, 'Nürnberg 1612')) or (matches(ancestor::tei:pb/@n, '^fol. (166v)$') and contains(//tei:title, 'Neuburg 1614'))">
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (5r|22v|23v|29v|34v|40v|56v)$') and contains(//tei:title, 'Eichstätt 1611')) or (matches(ancestor::tei:pb/@n, '^fol. (12v|18v|24v|31v|36r|39v|42r)$') and contains(//tei:title, 'Regensburg 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (265r)$') and contains(//tei:title, 'Nürnberg 1612')) or (matches(ancestor::tei:pb/@n, '^fol. (166v)$') and contains(//tei:title, 'Neuburg 1614')) or (matches(ancestor::tei:pb/@n, '(^fol\. 250v$)') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615'))">
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (72r|89r|90r|110v|112r|114v|118v|121r|123r|123v|126v04r)$') and contains(//tei:title, 'München 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (50r|75r|118v-119r)$') and contains(//tei:title, 'München 1636')) or (matches(ancestor::tei:pb/@n, '^fol. (5r|22v|23v|29v|34v|40v|48r|56v)$') and contains(//tei:title, 'Eichstätt 1611')) or (matches(ancestor::tei:pb/@n, '^fol. 44r$') and contains(//tei:title, 'Regensburg 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (258r|259r|263r|283r|283v|284r|284v|285r|285v|286r|287r|288r|288v|289r|289v|291r|291v|292r|293r|293v)$') and contains(//tei:title, 'Nürnberg 1612'))">
...
...
@@ -280,7 +303,7 @@
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (271v)$') and contains(//tei:title, 'Nürnberg 1612')) or (matches(ancestor::tei:pb/@n, '^fol. (164r)$') and contains(//tei:title, 'Neuburg 1614'))">
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (75r|107v|126v04v)$') and contains(//tei:title, 'München 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (11r|24r|26v|45v|46v|86r)$') and contains(//tei:title, 'Eichstätt 1611')) or (matches(ancestor::tei:pb/@n, '^fol. 30v$') and contains(//tei:title, 'Regensburg 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (263v|271v|290r|292v|294v|295v)$') and contains(//tei:title, 'Nürnberg 1612'))">
<xsl:whentest="(matches(ancestor::tei:pb/@n, '^fol. (75r|107v|126v04v)$') and contains(//tei:title, 'München 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (11r|24r|26v|45v|46v|86r)$') and contains(//tei:title, 'Eichstätt 1611')) or (matches(ancestor::tei:pb/@n, '^fol. 30v$') and contains(//tei:title, 'Regensburg 1613')) or (matches(ancestor::tei:pb/@n, '^fol. (263v|271v|290r|292v|294v|295v)$') and contains(//tei:title, 'Nürnberg 1612')) or (matches(ancestor::tei:pb/@n, '(^fol\. 251v$)') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615'))">
<xsl:whentest="matches(@n, '^fol. 208v$') and contains(//tei:title, 'München 1611') or (matches(@n, '^fol. (25r)$') and contains(//tei:title, 'Eichstätt 1611'))">
<xsl:whentest="matches(@n, '^fol. (126v05r|126v09v-126v10r)$') and contains(//tei:title, 'München 1613')">
<xsl:whentest="(matches(@n, '^fol. (126v05r|126v09v-126v10r)$') and contains(//tei:title, 'München 1613')) or (matches(@n, '(^fol. 248v$)') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615'))">
<xsl:iftest="not(matches(@n, '^fol. 172v$') and contains(//tei:title, 'München 1611') or (matches(@n, '^fol. (74r|126v0(5v|6r))$') and contains(//tei:title, 'München 1613')) or (matches(@n, '^fol. 18r$') and contains(//tei:title, 'München 1636')))">
<xsl:iftest="not(matches(@n, '^fol. 172v$') and contains(//tei:title, 'München 1611') or (matches(@n, '^fol. (74r|126v0(5v|6r))$') and contains(//tei:title, 'München 1613')) or (matches(@n, '^fol. 18r$') and contains(//tei:title, 'München 1636')) or (matches(@n, '(^fol\. 3[5-7][0-9])') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615') and contains(//tei:title, 'Wildbad/Heidelberg/Durlach 1615')))">
<xsl:templatematch="tei:lb[not(local-name(preceding-sibling::node()[1]) = 'pb')][not(parent::tei:p and count(preceding-sibling::*) = 0)]"mode="step3">
<xsl:templatematch="tei:lb[not(local-name(preceding-sibling::node()[1]) = 'pb')][not(parent::tei:p and (count(preceding-sibling::node()) = 0) or matches(preceding-sibling::node()[1],'^\s*$'))]"mode="step3">