Converting Nodes and Sequences of Nodes

If the expected type is a generic collection type, or an array of the Saxon class NodeInfo, or a Value or SequenceIterator, Saxon will pass the nodes supplied in the call in their native Saxon representation.

On the .NET platform, Saxon will not pass nodes to an extension function (or accept nodes returned by an extension function) in any other representation. For example, it does not pass or accept DOM nodes.