Method Trimmed(bool)

Assembly: redb.Route.XPath2.dll

Returns the same expression with whitespace trimmed off the text it extracts.

public TypedXPath2Expression<TValue> Trimmed(bool trim = true)

Remarks

Off by default, which is where this library has always been and differs from Camel's
trim=true. For a single value XPath answers this itself —
XPath("normalize-space(/order/name)") — but a node-set of several values cannot be
normalised from inside XPath 1.0, and an indented document gives every one of them the
surrounding whitespace.