xdmp:platform() as xs:string
Returns the operating-system platform upon which MarkLogic Server is running ("winnt", "linux", or "macosx").
xdmp:platform() => "winnt"