Question

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

Était-ce utile?

La solution

<xsl:template match="*[* and not(text()[normalize-space()])]/text()"/>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top