Reference Codebot.Text.Xml.pas
Part of the Codebot package
The Codebot.Text.Xml unit provides XML documents through a set of interfaces. IDocument is the root of an XML tree, INode is an element, attribute, text, or document node, and INodeList is a list of attributes or child nodes. IFiler reads and writes typed values to nodes selected by an XPath key, and can optionally encrypt them. SettingsLoad and SettingsSave read and write the settings file of the application.
On Linux the implementation uses libxml2, and on Windows it uses MSXML.
Items 60 items
| Name | Kind | Line |
|---|---|---|
| DecryptFunc | variable | 191 |
| DocumentCreate | function | 194 |
| EncryptFunc | variable | 190 |
| FilerCreate | function | 198 |
| IDocument | interface | 162 |
| Beautify | procedure | 169 |
| CreateAttribute | function | 171 |
| CreateElement | function | 173 |
| Load | procedure | 175 |
| Save | procedure | 177 |
| Root | property | 179 |
| IFiler | interface | 41 |
| Decrypt | function | 49 |
| Encrypt | procedure | 47 |
| ReadBool | function | 55 |
| ReadDate | function | 71 |
| ReadFloat | function | 67 |
| ReadInt | function | 59 |
| ReadInt64 | function | 63 |
| ReadStr | function | 51 |
| WriteBool | procedure | 57 |
| WriteDate | procedure | 73 |
| WriteFloat | procedure | 69 |
| WriteInt | procedure | 61 |
| WriteInt64 | procedure | 65 |
| WriteStr | procedure | 53 |
| Document | property | 75 |
| INode | interface | 82 |
| Force | function | 108 |
| Instance | function | 98 |
| Next | function | 100 |
| SelectList | function | 104, 106 |
| SelectNode | function | 102 |
| Attributes | property | 116 |
| Document | property | 110 |
| Filer | property | 114 |
| Kind | property | 120 |
| Name | property | 122 |
| Nodes | property | 118 |
| Parent | property | 112 |
| Text | property | 124 |
| Xml | property | 126 |
| INodeList | interface | 133 |
| Add | procedure | 143, 145 |
| Clear | procedure | 141 |
| Remove | procedure | 147, 149 |
| ByIndex | property | 155 |
| ByName | property | 153 |
| Count | property | 151 |
| NewDocument | function | 196 |
| SettingsLoad | function | 203 |
| SettingsSave | procedure | 205 |
| TEncryptionFunc | procedural | 185 |
| TNodeKind | enum | 28 |
| nkDocument | enum value | 28 |
| nkElement | enum value | 28 |
| nkAttribute | enum value | 28 |
| nkText | enum value | 28 |
| nkOther | enum value | 28 |
| XmlValidate | function | 209 |