public static void Main()
var reader = ChoXmlReader.LoadText(xml);
DataTable dataTable = reader.AsDataTable();
foreach (DataColumn column in dataTable.Columns)
Console.WriteLine("Column Name: " + column.ColumnName);
foreach (DataRow row in dataTable.Rows)
foreach (DataColumn column in dataTable.Columns)
Console.WriteLine($"Column Name: {column.ColumnName}, Value: {value}, Type: {value.GetType()}");
static string xml = @"<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE TRANSACTIONS SYSTEM 'transactions.dtd'><Employees>
<MATURITY>8/21/2024</MATURITY>
<TRD_ENTRY_TIME>8/22/2024 6:00:24.000</TRD_ENTRY_TIME>
<TRD_ORIG_FACE>-1904.0000000000</TRD_ORIG_FACE>
<MATURITY>8/21/2024</MATURITY>
<TRD_ENTRY_TIME>8/22/2024 6:00:25.000</TRD_ENTRY_TIME>
<TRD_ORIG_FACE>-762.0000000000</TRD_ORIG_FACE>