That would be because you did not load the stylesheet. :-)
You created a new object XslTransform
, but in fact you did not enter any conversion rules. Therefore, he does not know how to convert the XML that you give him, which is quite clearly expressed in the error message.
*.xsl
, XslTransform.Load
.
, , , , , .