XML is a VCL-type library (Windows platform only). Its main purpose is to create and parse XML documents. If you need installation instructions watch the video below.
2. Components in the Demo and what they do
ButtonReadXml – when clicked, it creates XMLReader object. A while cycle adds live by line the elements, checking the attributes count in the XML document. To convert the Nodes into readable text (string), is used ‘NodeToString’ function. The converted text into string is shown in the TMemo field. The full code on the button click can be seen in the next lines:
ButtonWriteXmlClick – when clicked, it creates TXmlWriter object. Then it start adding elements and attributes to create the XML document. You can check it in the next lines:
Like what you see? You can get the XML Library and over 100 other fantastic WinSoft components with our Enterprise Component Pack. For a limited time, when you purchase RAD Studio Enterprise or Architect Edition at special Upgrade Pricing, you will also get this package of third-party software worth over $13,000, including the full WinSoft Component Library, at NO EXTRA COST! Step up to RAD Studio 10.4.1 today!
Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy. Start Free TrialUpgrade Today