[xsl] transformNodeToObject does not work to produce a .htm

Subject: [xsl] transformNodeToObject does not work to produce a .htm
From: "Thippana, Venkat" <Venkat.thippana@xxxxxxxxxxxxxxxx>
Date: Fri, 1 Dec 2006 14:22:27 +0530
Please help me in finding the problem why transformNodeToObject is not
I have a the following xml and XSl files. i'm trying to produce a .htm
file from these with follwing code

Please tell me why the .htm is not produced
hr = pXMLDom->transformNodeToObject(pXSLDoc,
if( SUCCEDED(hr)  )
      hr = pXMLOut->save("ValidationLog.htm");

but it is able transform with the following code.

_bstr_t xmlStr = pXMLDom->transformNode(pXSLDoc);

XML file

<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='ValidationLog.xsl'?>

<Message> ACCES Name is supported</Message>

XSL file (validationLog.xsl)
<?xml version="1.0" encoding="utf-8"?>

Confidentiality Notice: 
The information contained in this electronic message
and any attachment(s) to this message are intended for the exclusive use of
the recipient(s) and may contain confidential, privileged or proprietary
information. If you are not the intended recipient, please notify the sender
immediately, delete all copies of this message and any attachment(s). Any
other use of the E-Mail by you is prohibited.

Current Thread