cts:point( $latitude-or-wkt as (xs:float|xs:string), $longitude as xs:float ) as cts:point
Returns a point value.
cts:point(0.373899653086420E+02, -0.122078578406509E+03)
(: Note that the points are in longitude-latitude pairs :) cts:point('POINT (122.078578406509 37.3899653086420)')
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.