XML in Delphi Part 1 - TXMLDocument
Create, read, and process XML with Delphi
Handling XML in Delphi can be tricky and the main tool to do this is the TXMLDocument component, which is not the most friendly tool to use. However in this video we strip away all the confusion and look at both producing and consuming XML. You will learn how to create XML files in a simple and straight forward manor and also how to read and process XML. We look at several ways of doing this, both when the structure of the file is known and unknown. We then look at some methods for manipulating the structure of XML files. Delphi XE3 is used throughout, and we build our example code using the FireMonkey framework (the examples are simple enough to translate into the VCL). The video is over an hour and a half long and anyone with a basic (or better) understanding of Delphi should be able to follow.
Length 1.5 Hours
This course is also included in the following bundle:
The LearnDelphi.TV Mega-Pack Bundle (10 Courses / 33+hrs) ($199)
Your Instructor
I have been programming in Delphi since 1999, primarily building and maintaining applications for the real estate, banking and legal industries here in New Zealand, in these roles I have also used other technologies such a C#, Ruby on Rails, Android/Java, but Delphi is my favorite environment. I have presented at numerous online CodeRage conferences, these conferences last for an entire week with thousands of participants (the replays for all of my presentations are available on this site), and I was an international guest speaker at ADUG in 2013. Most of my videos also appear on YouTube, for which I have over a million views, and over five thousand subscribers.
In 2012 Embarcadero invited me to join a select group of Delphi experts from around the world to form the Embarcadero MVP program, to which fewer than 100 people worldwide have been admitted (I'm the only one from New Zealand).
I also play guitar, invest in real estate, regularly work out at the gym, and of course maintain the LearnDelphi.tv courses.
Course Curriculum
-
PreviewIntroduction (1:09)
-
StartAdding Nodes (15:14)
-
StartCData (5:53)
-
PreviewSaving XML (2:01)
-
StartProcessing XML into a TreeView (27:33)
-
StartRenameNode (12:54)
-
StartCloneNode (4:59)
-
StartNext and Previous Sibling (2:42)
-
StartHasChildNodes, IsTextElement, XML, HasAttribute (4:34)
-
StartChildNodes (5:24)
-
StartTXMLDocument Properties Part 1 (11:15)
-
StartTXMLDocument Events (1:58)
-
StartTXMLDocument Properties Part 2 (3:40)
-
StartRuntime Creation (3:16)
-
StartSummary (0:46)