strip-whitespace

Usage

strip xpath

Aliases

strip_whitespace

Description

strip-whitespace removes all leading and trailing whitespace from given nodes. If applied to an element node, it removes all leading and trailing child text nodes and CDATA sections that consist entirely of whitespace.