Open skurzinz opened 3 years ago
Locally solved by limiting using a predicate on https://github.com/dasch124/xsl-patternmatcher/blob/9a5150e4e78aa9261544048a2f6c217901d0186a/pattern-matcher.xsl#L161 à la [not(ancestor::tei:teiHeader or ancestor-or-self::tei:rs or ancestor-or-self::tei:date)]
-- but it would be nicer to be able to pass another xsl:param
there.
With
Running pattern-matcher.xsl results in an error:
Beschreibung: The required item type of the first operand of '/' is node(); the supplied value "" is an atomic value. Found while atomizing the first argument of fn:string-join()
It would be great to be able to limit this e.g. to only
body
, or e.g. avoid nestingtei:rs
when there's already anrs
wrapping the same partial text node…