IT-Consultant: José Roca (PBWIN 10+/PBCC 6+) (Archive only) > COM Programming

XML

(1/3) > >>

Bernard Ertl:
I'm new to XML and needing to build a routine that imports some data from an XML file. 

I saw Jose's thread on MSXML here:

http://www.jose.it-berater.org/smfforum/index.php?topic=4387.0

I also saw his old post in the PB forums which mentioned a freeware library TB_XML40.zip:

http://www.powerbasic.com/support/forums/Forum4/HTML/013629.html

But the URL given doesn't appear to work.  Is it still available?  If not, what would you suggest as a good starting point for jumping in to build a function for parsing/evaluating an XML file?

José Roca:
TB_XML40 was an old library of wrapper functions to use MSXM when PB had no direct interface call support.

You can use MSXML or XMLLite. Both are COM technologies from Microsoft.

For XMLLite see: http://www.jose.it-berater.org/smfforum/index.php?topic=4237.0

Bernard Ertl:
Thanks José!  Based upon what I'm reading here:

https://msdn.microsoft.com/en-us/magazine/cc163436.aspx

It looks like XmlLite might be a leaner solution for my simple needs.

Bernard Ertl:
In the code linked in your post, you have:

#INCLUDE ONCE "shlwapi.inc"
#INCLUDE ONCE "ocidl.inc"
#INCLUDE ONCE "xmllite.inc"

Where can I find those .INC files?

José Roca:
They are part of my Windows API Headers package:
http://www.jose.it-berater.org/smfforum/index.php?topic=4985.0

Navigation

[0] Message Index

[#] Next page

Go to full version