This is the shared functions part of the validation rule set accompanying the FpML 5.2 Reccomendation #1.
This section introduces functions as a mechanism to define repeatable tests that are applied independent of a context. Functions take node-element types as parameters and return a typed result.
default element namespace = http://www.fpml.org/spec/fpml-5-2-6-rec-2
namespace xs = http://www.w3.org/2001/XMLSchema