Content of dimension3.xq example

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

geo:dimension(<gml:LinearRing>
                <gml:posList>
                1 1 
                2 1
                5 3
                1 1
                </gml:posList>
              </gml:LinearRing>)