Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -0,0 +1,19 @@
{$reference System.Xml.Serialization.dll}
{$reference System.Xml.dll}
uses System.Xml;
uses System.Xml.Serialization;
type
[XmlRoot('root')]
ExampleXML = class
public
[XmlElementAttribute('element')]
element := 'My text';
end;
begin
var xmlnamespace := new XmlSerializerNamespaces();
xmlnamespace.Add('', '');
var writer := XmlWriter.Create('output.xml');
(new XmlSerializer(typeof(ExampleXML))).Serialize(writer, new ExampleXML(), xmlnamespace);
end.