PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

XML

I cannot seem to get transformNode to work properly.

In general it seems that MSXML on the PPC2002 is quirky at best. It does not load xml from a file, unless it is a url, and tracing through nodes is odd at best.

Anyone have any idea how to get it to transorm an XML document with XSL using transformNode?
kaiton · 01 Apr 2002, 09:20 UTC — loading from file
Code:
// to load an XML file from a local file use the following code
FileStream* fs = new FileStream;
fs->open(L"\\My Documents\\sample.xml");
vXMLSrc.punkVal = fs;
vXMLSrc.vt = VT_UNKNOWN;
hr = iXMLDoc->load(vXMLSrc, &vSuccess;);



from :http://www.microsoft.com/mobile/developer/technicalarticles/xmlparser.asp

Greetz,

kaiton
thks...I saw that too.

Define FileStream. ;) To my knowledge it is not a base C++ object.

Anyhoo, I can deal with loading from a file, since I just read it into a buffer.

My REAL problem is the stupid Transform.

But thanks.