I checked with Janez and the script currently works as expected. Subtree text does not remove tags but it ensures that all subelements of the selected element are processed (ie all \<p> tags are converted to \<seg> to comply with TEI). Removing xml elements may result in problems elsewhere.
I checked with Janez and the script currently works as expected. Subtree text does not remove tags but it ensures that all subelements of the selected element are processed (ie all \<p> tags are converted to \<seg> to comply with TEI). Removing xml elements may result in problems elsewhere.