You can use MSXML DOM object, by importing the type library or through Reflection.
See
these 2 C# examples.
To apply the XSL template over XML use the transformNode() method of the DOM object.
For reference, I give you a JavaScript example:
[html]<PRE nd="52"><html>
<body>
<script type="text/javascript">
// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("cdcatalog.xml")
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("cdcatalog.xsl")
// Transform
document.write(xml.transformNode(xsl))
</script>
</body>
</html>
</PRE>[/html]
You can use the version existing on your system:
MSXML2.DOMDocument.3.0,
MSXML2.DOMDocument.4.0 or
Microsoft.XMLDOM
If not sure what version you have, run Start/Run/regedit, and search for it.