title: XSLT To remove empty nodes and nodes with -1
body: <p>I'm not an XSLT wizard.</p>
  
  <p>I have the current XSLT i'm using to remove empty nodes:</p>
  
  <pre><code> string strippingStylesheet = "&lt;xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"&gt;" +
                  "&lt;xsl:template match=\"@*|node()\"&gt;" +
                  "&lt;xsl:if test=\". != ''\"&gt;" +
                  "&lt;xsl:copy&gt;" + 
                  "&lt;xsl:apply-templates select=\"@*|node()\"/&gt;" +
                  "&lt;/xsl:copy&gt;" + 
                  "&lt;/xsl:if&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;";
  </code></pre>
  
  <p>I need to find a way to also remove nodes with -1 in them. A previous developer thought it would be a good idea to make every int in the system be defaulted to -1, and yes that means all DB fields have -1 in them instead of null.</p>
  
  <p>So as much as I want to beat the dead horse (with a stick, bat, bazooka), I need to get back to work and get this done.</p>
  
  <p>Any help would be great.</p>