Deduplicator

Removes duplicate matches on an XPath from an XML document.

Properties

SourceXml

Type: Xml Input
The input XML document to be parsed.

XPaths

Type: Multiline Text Input
A list of XPath's (one per line) to match against. Provide namespaces prefixes per the namespaces and prefixes defined in the Namespaces Property.

Namespaces

Type: Multiline Text Input
A set of namespace prefixes and namespaces, one per row in the form prefix:namespace. These prefixes can be referenced in the XPath property.

ResultXml

Type: Xml Output
The resulting XML document.

Remarks

The Node iterates all XPath's defined and for each one, removes any match that is identical to a prior match.

The resulting document is emitted in the ResultXml Property.

Examples

See https://flowgear.me/s/srrFYfP for an example.

See Also

Reducer