how to install nativeXML using Delphi 2009?

I`m using Delphi 2009 and want to operate some XML data. I heard that nativeXML is one of the most convenient ways to do it. so how can I install this library?

Answers


NativeXML doesn't claim to support Delphi 2009 just yet. [Edit: Apparently there is a 2009 beta available to paying customers.] The trial version does not, so it cannot work with Delphi 2009 until that version of Delphi is officially supported.

That said, using XML in Delphi for most purposes doesn't require third-party components. You have several options, depending upon what you're doing.

  1. The most straightforward is to use TXMLDocument. This lets you open an XML file or stream, and access nodes using a DOM.

  2. With the Enterprise version of Delphi, you get the XML data binding wizard. This generates strongly typed mapping classes for a certain XML schema. It's very convenient when you know exactly what the structure of the XML document you're parsing will be.

  3. A third option is the XML mapper, which allows you to read XML data to and from a TClientDataset.


Based on their web site, it sounds like you just download the .dcu file, put it in a convenient directory, and add that directory to your type library path (tools->options->library path).

After that, just add the unit to your uses clause and you should be good to go.


Need Your Help

Calling onCreate in onResume issue

android android-listview oncreate onresume

I have implemented custom listview.Now the user refreshes the app from another activity which causes the database to be updated.So, now the user comes back to the activity which has custom listview...

How do I add a rel to a <a> tag with jQuery?

javascript jquery

I want to use jquery to add a rel="shadowbox" to a &lt;a&gt; tag