以下是 2 个 XML DB 的示例结构 -
主题数据库
<Subjects>
<Subject>Physics</Subject>
<Subject>Biology</Subject>
<Subject>Maths</Subject>
<Subject>Algebra</Subject>
</Subjects>
分类数据库
<Classification>
<Subject>Physics</Subject>
<Subject>English</Subject>
<Subject>History</Subject>
<Subject>Algebra</Subject>
</Classification>
我需要将两个数据库中的不同值作为单个输出,并且像这样排序 -
<Subject>Algebra</Subject>
<Subject>Biology</Subject>
<Subject>English</Subject>
<Subject>History</Subject>
<Subject>Maths</Subject>
<Subject>Physics</Subject>