Learn how to a build a cloud-first strategyRegister Now


XDOM with Delphi 2010

Posted on 2009-12-18
Medium Priority
Last Modified: 2013-11-23
I have upgraded to Delphi 2010 and I am in the middle of porting the code. In my project I used XDOM but this does not seem to be available in 2010. What do I use instead?

Question by:Chris Nillissen

Author Comment

by:Chris Nillissen
ID: 26079405
A simple example will be most welcome too. I have been playing around with everything, and cant seem to work it out at all.
LVL 23

Expert Comment

by:Ferruccio Accalai
ID: 26079813
AFAIK xdom is present in D2010 in C:\Program Files\Embarcadero\RAD Studio\7.0\source\Win32\xml

Accepted Solution

ebob42 earned 2000 total points
ID: 27646621
Unit oxxmldom.pas is no longer part of Delphi 2010. However, you have three choices to pick from:

adomxmldom.pas - ADOM XML v.4
msxmldom.pas - MSXML
xercesxmldom.pas - Xerces XML

Which you can find in the RAD Studio\7.0\source\Win32\xml directory. You may have to add the $(BDS)\source\Win32\xml to your search path in the project options.

You can select a new DOM using one of the following three statements:

      XMLDocument.DomVendor := adomxmldom.OpenXML4Factory;
      XMLDocument.DomVendor := xercesxmldom.XercesDOM;
      XMLDocument.DomVendor := msxmldom.MSXML_DOM;

But you can also pick a new DOMVendor at design-time, of course.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question