我对如何从 XML 文件导入数据感到困惑。XML 文件的结构如下:
<Workflow>
<ItemList1>
<Item1>1</Item1>
<otherItem>1</otherItem>
<anotherItem>1</anotherItem>
........................
</ItemList1>
<TaskLists>
<NumberOfTasks>2</NumberOfTasks>
<Task_1>
<description>"description"</description>
<position>"x, y"</position>
<name>"name"</name>
<tagListNumberOfItems>2</tagListNumberOfItems>
<tagList>
<subTag>"text"</subTag>
<other_subTag>"text"</other_subTag>
</tagList>
</Task_1>
<Task_2>
<description>"description"</description>
<position>"x,y"</position>
<name>"name"</name>
<tagListNumberOfItems>4</tagListNumberOfItems>
<tagList>
<different_subTag>"text"</different_subTag>
<other_different_subTag>"text"</other_different_subTag>
<a_3rd_subTag>"text"</a_3rd_subTag>
<a_4th_subTag>"text"</a_4th_subTag>
</tagList>
</Task_2>
</TaskLists>
</Workflow>
我应该如何导入这些数据?谢谢!