TBIXML class provides XML data import with automatic structure detection, attribute handling, and support for multiple XML engines.
Quick Start
Key Methods
ImportText
Import from XML string:Import from TStrings
Parse
Validate XML without full import:Import from Folder
XML Structure Handling
Elements
XML elements become data items:Attributes
Attributes are imported as separate columns:Nested Elements
Automatic master-detail relationships:XML Engines
TBIXML supports multiple XML parser engines:Create Custom Engine
Configuration Options
Hierarchical Mode
Exclude Nodes
Skip specific XML nodes:QuotedBooleans
Advanced Examples
Import with Progress
Handle Import Errors
Mixed Content
Export to XML
UseTBIXMLExport to save data as XML:
Export Options
File Format Detection
Common XML Patterns
SOAP Response
RSS Feed
Common Issues
Namespace prefixes not recognized
Namespace prefixes not recognized
Add namespaces to exclude list:
Attributes missing from import
Attributes missing from import
Attributes are automatically imported as separate columns. Check the column names.
Empty elements cause errors
Empty elements cause errors
Empty elements are marked as Missing data:
Wrong XML parser on Linux
Wrong XML parser on Linux
Set the FPC engine explicitly:
