0
現在、一部のXMLデータソースの読み込みに問題があります。XMLレポートビルダーでシーケンシャル結果セットを処理する
通常、私は結果のこの種を扱っています。各結果は結果セットに返さ
<resultset>
<result>
<name>...</name>
</result>
<result>
<name>...</name>
</result>
<result>
<name>...</name>
</result>
</resultset>
が同じ名前であり、容易に回収することができます。
しかし、新しい結果見返りに、彼らはの形で来ている:
<resultset>
<_1>
<name>...</name>
</_1>
<_2>
<name>...</name>
</_2>
<_3>
<name>...</name>
</_3>
</resultset>
は、ここで返された各結果は、アンダースコア以下、シーケンシャルなIDです。
私はこれらの結果を使用する方法が最善わからないんだけど、私は、クエリをしようとしています。残念ながら
<Query>
<ElementPath>
<ElementPath IgnoreNamespaces="true">
apiresult{}/resultset{}/_1
</ElementPath>
</ElementPath>
</Query>
、これが唯一の最初の結果を戻すことが - 私が使用できるワイルドカードのいくつかの並べ替えがあります'_1'の代わりに_2、_3などを戻しますか?
私は、単一のアスタリスクを使用して
...、などのワイルドカードを使用するように
apiresult{}/resultset{}/_*
それとも
apiresult{}/resultset{}/_%
しかし、運を試してみましたが、それは、動作しません。エラーが発生する:
apiresult{}/resultset{}/*
The Value expression for the text box ‘id’ refers to the field ‘id’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing.
? –
申し訳ありませんが、レポートビルダについてはわかりません。これは単なるxslt-answerです。 – Gerriet