XML结构如下:
<Entities>
<Entity>
<EntityName>.... </EntityName>
<EntityType>.... </EntityType>
<Tables>
<DataTables>
<DataTable>1</DataTable>
<DataTable>2</DataTable>
<DataTable>3</DataTable>
<DataTable>4</DataTable>
</DataTables>
<OtherTables>
<OtherTable>5</OtherTable>
<OtherTable>6</OtherTable>
</OtherTables>
</Tables>
</Entity>
.
.
.
</Entities>
Run Code Online (Sandbox Code Playgroud)
我需要根据所选的实体名称解析文件,并按照提到的顺序检索所有表.我如何在Perl中执行此操作以及应使用哪个模块?