Content of overlaps12.xq example

import module namespace geo = "http://expath.org/ns/geo";
declare namespace gml="http://www.opengis.net/gml";

geo:overlaps(<gml:LineString>
                <gml:posList >
                2 1
                2 0
                1 0
                1 1
                </gml:posList>
             </gml:LineString>,
             <gml:LineString>
                <gml:posList>
                0 -1
                0 0
                10 0
                10 -1
                </gml:posList>
             </gml:LineString>)