Reporting services SSRS XML数据源如何查询具有多父子层次结构的XML

Reporting services SSRS XML数据源如何查询具有多父子层次结构的XML,reporting-services,xmldatasource,Reporting Services,Xmldatasource,如何在SSRS中查询XML数据源,以便返回两个父子层次结构? 比如说 <parent> <child1> <child2> <child3> <a1>1</a1> <b1>2</b1> </child3> <child4>

如何在SSRS中查询XML数据源,以便返回两个父子层次结构? 比如说

<parent>
    <child1>
        <child2>
            <child3>
                <a1>1</a1>
                <b1>2</b1>
            </child3>
            <child4>
                <c1>1</c1>
                <d1>2</d1>
            </child4>
        </child2>
    </child1>
</parent>

1.
2.
1.
2.

如何查询此XML,以获得a1、b1、c1、d1作为结果集?

下面的示例应提供您要查找的结果:

<Query>
<ElementPath IgnoreNamespaces="True">
parent{}/child1{}/child2{child3 {a1,b1}, child4{c1,d1}}
</ElementPath>
</Query>

家长{}/child1{}/child2{child3{a1,b1},child4{c1,d1}

你曾经得到过这个问题的答案吗?