Removing whitespaces at the end of a line
Posted: Fri Jun 07, 2013 7:10 pm
Hi!
When transforming a text encoded according to TEI P5, how to remove whitespaces before a in case we're going to have a floating text output without linebreaks.
The output is:
But it should be:
We need this because we have two different layouts of one document: one as a floating text, the other as a line for line transcription.
Thanks!
When transforming a text encoded according to TEI P5, how to remove whitespaces before a
Code: Select all
<lb break="no">
Code: Select all
<lb n="1"/>Lorem ipsum do
<lb n="2" break="no"/>lor sit amet,
Code: Select all
Lorem ipsum do lor sit amet,
Code: Select all
Lorem ipsum dolor sit amet,
Code: Select all
<lb break="no">
Thanks!