Pregunta

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

¿Fue útil?

Solución

<xsl:template match="*[* and not(text()[normalize-space()])]/text()"/>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top