3
votes
Vote UpVote

Xml Serialization - Control via Attributes

Rob's Technology Corner – The XmlSerial.pas unit now supports the Attributes. I had to fix a couple of bugs to get it working, just in case you grabbed the copy I posted earlier today.Now you can use 4 Different attributes to control XML serialization process. Specifically XmlRoot, XmlElement, XmlAttribute, and XmlIgnore. I modified the original class I used in the previous XML serialization post to use these. [XmlRoot('Person')] TPerson = class(TObject) private FLastName: String; FBirthday: TDateTime; FMiddleName: String; FFirstName: String; function GetFullName: String; published public ...
Favorite? Off-Topic? Robert Love @ 2009-10-08 20:13

Statistics

Visits: 404
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Charles Ardour
Robert Love
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)