... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2004-12-06

MSXML

Here is how to perform an XSLT transformation and write the result to a file:

var outputStream = new ActiveXObject("ADODB.Stream");
outputStream.Open();
outputStream.Type = 1; // adTypeBinary
xmlDoc.transformNodeToObject(xslDoc, outputStream);
outputStream.SaveToFile("output.html", 2); // adSaveCreateOverWrite
outputStream.Close();

Blog Archive