The problem is probably because there's an extra space in the URL for the namespace.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/ Transform"> <xsl:output method="xml" indent="yes" /> <!-- here's the trick --> <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> <xsl:template match="comment()|processing-instruction()"> <xsl:copy / > </xsl:template> </xsl:stylesheet> See that space before Transform? Take it out -- so that it reads xmlns:xsl="http://www.w3.org/1999/XSL/ Transform" -- and try it again. I learned through bitter experience that you will get a silent quit, as you describe, if the URL for the stylesheet is wrong or can't be reached. > -----Original Message----- > That looks like what I needed, but when i try to .Transform > I get an XmlException. The really frustrating part is that I > can't seem to catch the exception. Without break on > exceptions turned on in the IDE, my program just quits with > no errors. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
