diff --git a/DataTableConverter/Assisstant/importers/XmlImporter.cs b/DataTableConverter/Assisstant/importers/XmlImporter.cs
index dc054df..53f8c62 100644
--- a/DataTableConverter/Assisstant/importers/XmlImporter.cs
+++ b/DataTableConverter/Assisstant/importers/XmlImporter.cs
@@ -14,7 +14,7 @@ namespace DataTableConverter.Assisstant.importers
{
internal static class XmlImporter
{
-
+ // Assumption: First XML-Element is the root object and this one contains a list. e.g.
internal static void Import(string path, DatabaseHelper databaseHelper, ProgressBar progressBar, Form1 mainForm, string tableName)
{
HashSet overallColumns = new HashSet();
@@ -33,12 +33,12 @@ internal static void Import(string path, DatabaseHelper databaseHelper, Progress
XmlReader reader = XmlReader.Create(path, settings);
reader.Read();
- // read static rows
+ // read static columns
if (reader.HasAttributes)
{
while (reader.MoveToNextAttribute())
{
- string columnName = reader.LocalName;
+ string columnName = reader.LocalName.Replace('-', '_');
staticColumns[columnName] = reader.Value;
rowData[columnName] = reader.Value;
overallColumns.Add(columnName);
diff --git a/DataTableConverter/Properties/AssemblyInfo.cs b/DataTableConverter/Properties/AssemblyInfo.cs
index 129c559..d6af33b 100644
--- a/DataTableConverter/Properties/AssemblyInfo.cs
+++ b/DataTableConverter/Properties/AssemblyInfo.cs
@@ -32,4 +32,4 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.43.0")]
\ No newline at end of file
+[assembly: AssemblyFileVersion("1.0.44.0")]
\ No newline at end of file