The strip command
Syntax:
stripThe effect is the same as:
delete //text()[not(normalize-space())]That is, all text nodes consisting entirely of whitespace are removed from the document.
Syntax:
stripThe effect is the same as:
delete //text()[not(normalize-space())]That is, all text nodes consisting entirely of whitespace are removed from the document.