0
下面是2個XML DB的樣本結構 -XQuery從兩個XML取不同的數據的DB
主題DB
<Subjects>
<Subject>Physics</Subject>
<Subject>Biology</Subject>
<Subject>Maths</Subject>
<Subject>Algebra</Subject>
</Subjects>
分類DB
<Classification>
<Subject>Physics</Subject>
<Subject>English</Subject>
<Subject>History</Subject>
<Subject>Algebra</Subject>
</Classification>
我需要有不同的來自兩個DB的值作爲單個輸出,並且這些數值也是如此排序的 -
<Subject>Algebra</Subject>
<Subject>Biology</Subject>
<Subject>English</Subject>
<Subject>History</Subject>
<Subject>Maths</Subject>
<Subject>Physics</Subject>