Here is one easy way:
protected void Page_Load(object sender, EventArgs e) { EXml1.XsltSettings = System.Xml.Xsl.XsltSettings.TrustedXslt; EXml1.TransformArgumentList = new System.Xml.Xsl.XsltArgumentList(); EXml1.TransformArgumentList.AddParam( "base-dir-for-images", "", MapPathSecure("~/images")); EXml1.TransformArgumentList.AddParam( "base-virtual-dir-for-images", "", "images"); }
I had to add these two parameters so the WordML2HTML stylesheet could export images there and then refer to exported images in HTML. If you don't pass these parameters images will be exported into current directory - while that's ok when running WordML2HTML transformation in a command line, that's bad idea for ASP.NET environment.
Enjoy!
...