Pergunta

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

Foi útil?

Solução

<xsl:template match="*[* and not(text()[normalize-space()])]/text()"/>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top