Combines the elements returned by the nested Data Providers under a single (new) root element.
The resulting XML can be used directly in a datacontrol, but it is also likely that this UnionFilter is wrapped by a XSLTransformFilter to somehow merge/combine the nested elements.
This UnionFilter requires two parameters in the DataControls.dcx; root-element and root-namespace specifying the element name and namespace.
With the root-element parameter set to foo, the root-namespace parameter set to bar and the two nested DataFilters returning the elements <baz/> & <qux/>, this UnionFilter would return:
Code Block | ||||
---|---|---|---|---|
| ||||
<ns0:foo xmlns:ns0="bar">
<baz/>
<qux/>
</ns0:foo> |
See Also
- Blog by Harry van Oosten from Oriente IT on How to use the UnionFilter with the XSLTransformFilter data providers in a XMLDatacontrol ADF 12C project? for a fully working example.