1.
Code:
<xsl:for-each select="//node[not(@attribute='value for which you want the node excluded')]">
<xsl:apply-templates/>
</xsl:for-each>
2.
create a variable with:
Code:
<xsl:variable name="CRLF">
<xsl:text>
</xsl:text>
</xsl:variable>
insert it with:
Code:
<xsl:value-of select="$CRLF"/>
edit: argh... even inside the code tags it's being eaten. it should be:
<xsl:text>ampersand pound one zero semicolon</xsl:text>
but actually type the charcaters (not the words) and no spaces.