Guest User

Untitled

a guest
Jul 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <span></span> <!-- I want this even if content empty -->
  2. <span/> <!-- stop doing this! ->
  3.  
  4. XslCompiledTransform proc = new XslCompiledTransform();
  5. proc.Load("sheet.xsl");
  6.  
  7. using (XmlWriter xw = XmlWriter.Create("result.html", proc.OutputSettings))
  8. {
  9. proc.Transform("input.xml", null, xw);
  10. }
  11.  
  12. <xsl:if test="count(jar/beans) > 0">
  13. <xsl:apply-templates select="jar/beans"/>
  14. </xsl:if>
  15.  
  16. <div class="clearBoth"><xsl:text> </xsl:text></div>
Add Comment
Please, Sign In to add comment