Is there a MSXML alternative? I think MSXML clashes with previous versions. Also I prefer open source, at least tools with source. Delphi is my choice but I can manage c/c++. It should support all of construction, navigation and xmlhttp interface without MSXML dependency. Thanks for any lead
Asked
Active
Viewed 3,375 times
2
-
5What makes you think MSXML clashes with previous versions? – Bruce McGee Jun 28 '11 at 03:30
-
I think it's not MSXML that's causing a problem but a missing DLL on the target system that is used to test it. – Wim ten Brink Jun 28 '11 at 08:56
-
Note that MSXML behaviour depends heavily on which version of MSXML you have installed, especially when you want to do XPath things. – Jeroen Wiert Pluimers Jun 28 '11 at 12:48
-
@Jeroen, I knew there were XPath differences between 3 and 4, but didn't know there were big changes afterwards. – Bruce McGee Jun 28 '11 at 15:40
-
@Bruce: For instance this one: http://stackoverflow.com/questions/4346060/msxml6-error-loading-valid-windows-1252-document-system-error-2146697210 – Jeroen Wiert Pluimers Jun 28 '11 at 20:19
5 Answers
4
3
Using TXmlDocument you can use either MSXML or the open source implementation, Open XML (http://www.philo.de/xml/), that comes with Delphi. If using TXmlDocument the version of MSXML used is the latest version available on the machine, so it won't clash.

Misha
- 1,816
- 1
- 13
- 16
-
MSXML does not use the latest version, it is up to the user which version is used. MSXML does not have a version independant program identifier. If you would look at the TXMLDocument you will see that it first tries to use MSXML 6.0, and fallback to an earlier version if the latest is not available. – The_Fox Jun 28 '11 at 06:44
-
@The_Fox, that is what I meant to say, so I have updated the answer accordingly. – Misha Jun 28 '11 at 08:05
-
@The_Fox: actually that depends on what version of Delphi you're using. For example Delphi 2007 doesn't know about MSXML6 out of the box. – Jun 28 '11 at 14:44
-
@Idsandon: I know, it's the same with Delphi 7. That is the drawback of not using version independent identifiers. You can only support what is out now. MSXML 6.0 wasn't available when Delphi 7 (and 2007) was released. – The_Fox Jun 28 '11 at 18:03
2
You can use OmniXML which has an interface compatible with MSXML. There is also SimpleStorage a set of interfaces on top of OmniXML that make it even stronger and easier to use.

Runner
- 6,073
- 26
- 38
0
himXML works also fine and fast.
- support unicode
- is under MPL v1.1 , GPL v3.0 or LGPL v3.0
- it fast
- its simple
you can get it from german delphi-praxis website.

coding Bott
- 4,287
- 1
- 27
- 44