[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

transformNodeToObject does not work to produce a .htm

Subject: transformNodeToObject does not work to produce a .htm
From: "Thippana, Venkat" <Venkat.thippana@xxxxxxxxxxxxxxxx>
Date: Fri, 1 Dec 2006 14:22:27 +0530
transformnodetoobject id xml
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.