Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Thippana, Venkat" <Venkat.thippana@---------------->
To:
Date: 12/1/2006 8:54:00 AM
Please help me in finding the problem why transformNodeToObject is not
working.
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,
pXMLOut.GetInterfacePtr());
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'?>


<ValidationInfo>
<ValidationId>
<ID>1</ID>
<Source>AccessNames</Source>
<SubSource>Galaxy</SubSource>
<MessageType>SUPPORTED</MessageType>
<Message> ACCES Name is supported</Message>
<Operation>VALIDATION</Operation>
</ValidationId>
</ValidationInfo>


XSL file (validationLog.xsl)
============
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:cs="urn:extra-functions"
version="1.0">



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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent