![]() |
Re: Using AltovaXML with C++/CLI
Bubba wrote:
> Does anyone know if it is possible to use the Altova.AltovaXML.dll from > within C++/CLI? If it is I'd be grateful for a code sample. I have just tried that, it works. Here is a sample C++/CLI console application that does an XSLT 2.0 transformation and writes the result to the console: // AltovaTest1.cpp : main project file. #include "stdafx.h" using namespace System; using namespace Altova::AltovaXML; int main(array<System::String ^> ^args) { Application^ app = gcnew Application(); app->XSLT2->InputXMLFileName = "c:\\input1.xml"; app->XSLT2->XSLFileName = "c:\\sheet1.xml"; Console::WriteLine(app->XSLT2->ExecuteAndGetResultAsString()); return 0; } -- Martin Honnen http://JavaScript.FAQTs.com/ |
| All times are GMT. The time now is 06:18 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.