Re: [xsl] commenting an XML element [XSLT 1.0][xsltproc]

Subject: Re: [xsl] commenting an XML element [XSLT 1.0][xsltproc]
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 18 Aug 2010 15:02:10 +0200
pankaj.c@xxxxxxxxxxxxxxxxxx wrote:

I tried testing it with below stylesheet, now complete one but with same error. Something is terribly missing in code.

I took your two code samples and run them successfully with both Saxon 6.5.5 and xsltproc, no errors were reported and the output contains


<!--<colspec>colname="col1" </colspec>-->
<!--<colspec>colname="col1" </colspec>-->
<!--<colspec>colname="col2" </colspec>-->

so the comments are created.

--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread