Thursday, February 16, 2012

<! comments > with SQLXML & ASP.NET

Hi,
I'm using a SqlXmlCommand object with XSL templates + ASP.NET. I
stream the output to a file for later use. However, HTML comments
from the XSL file are not present in the merged file. Is there a way
to keep them ?
Thanks
OK I found it. Using <xsl:comment>mycomment</xsl:comment> solved the problem.

> Hi,
> I'm using a SqlXmlCommand object with XSL templates + ASP.NET. I
> stream the output to a file for later use. However, HTML comments
> from the XSL file are not present in the merged file. Is there a way
> to keep them ?
> Thanks

No comments:

Post a Comment