Forum Moderators: open
As for the HTML output, add this to just below the <xsl:stylesheet> tag:
<xsl:output method="xml" version="1.0" encoding="UTF-8" omit-xml-declaration="yes" standalone="no"/>
As for the original question, it depends on when you are processing the XML. If it is in the call to the ASP page, the ASP processing has already been performed when the XSL transformation has been done. If so, then you need to pass in a variable as shown in the previous post.
If, on the other hand, you are processing the XML somewhere else and trying to produce an ASP page, then I think the problem is that you need to use entities for < and >. & gt; and & lt; (remove the space after the ampersand).