문제

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