Skip to content

Commit

Permalink
fix für neues physDesc
Browse files Browse the repository at this point in the history
  • Loading branch information
martinantonmueller committed Dec 19, 2023
1 parent 6abfaaa commit 599f8b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions import-xslts/remove-whitespace.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:mode on-no-match="shallow-copy"/>
<xsl:output method="xml" indent="no"/>

<xsl:template match="text()[normalize-space(.)='' and ancestor::tei:div[parent::tei:body] or ancestor::tei:p[parent::tei:physDesc]]"/>


<xsl:template
match="text()[normalize-space(.) = '' and (ancestor::tei:div[parent::tei:body] or ancestor::tei:physDesc)]"
/>
</xsl:stylesheet>

0 comments on commit 599f8b6

Please sign in to comment.