Velocity Reviews

Velocity Reviews (
-   XML (
-   -   Re: Using AltovaXML with C++/CLI (

Martin Honnen 12-27-2008 05:04 PM

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";
return 0;


Martin Honnen

All times are GMT. The time now is 09:59 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.