Content of is_simple14.xq exampleimport module namespace geo = "http://expath.org/ns/geo"; declare namespace gml="http://www.opengis.net/gml"; geo:is-simple(<gml:Curve><gml:segments> <gml:LineStringSegment interpolation="linear"><gml:posList> 1 1 2 2</gml:posList></gml:LineStringSegment> <gml:LineStringSegment><gml:posList> 2 2 2 1 1.5 1.5 </gml:posList></gml:LineStringSegment> </gml:segments></gml:Curve> ) |