Вопрос

Given any document or fragment, specially those loaded using document() or doc(), how do you remove the insignificant whitespace (i.e. indentation)?

Это было полезно?

Решение

<xsl:template match="*[* and not(text()[normalize-space()])]/text()"/>
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top