From 7ea386e41d5de86826fbb376f58e79a4081c566c Mon Sep 17 00:00:00 2001 From: Dario Kampkaspar Date: Sun, 4 Jun 2023 21:21:27 +0200 Subject: [PATCH] combining of entities also or *Name Cf. #24 --- combine-continued.xsl | 20 ++-- test/combine-continued-result.html | 60 +++++++++- test/combine-continued.xspec | 173 +++++++++++++++++++++++++++-- 3 files changed, 229 insertions(+), 24 deletions(-) diff --git a/combine-continued.xsl b/combine-continued.xsl index 8d18fc3..ff46290 100644 --- a/combine-continued.xsl +++ b/combine-continued.xsl @@ -18,20 +18,20 @@ Combine continued rs - + - + - - + select="(current-group()[position() gt 1 and @continued = 'true'][last()], current-group()[4])[1]" /> + + - + @@ -46,13 +46,15 @@ lb will be returned unaltered - + + + For continued rs, only return the content - + diff --git a/test/combine-continued-result.html b/test/combine-continued-result.html index a91ecde..147dfd2 100644 --- a/test/combine-continued-result.html +++ b/test/combine-continued-result.html @@ -1,7 +1,7 @@ - Test Report for /home/kampkaspar/git/page2tei/combine-continued.xsl (passed: 2 / pending: 0 / failed: 0 / total: 2) + Test Report for /home/kampkaspar/git/page2tei/combine-continued.xsl (passed: 4 / pending: 0 / failed: 0 / total: 4)