Content of patch-n2.xq example

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

geo:patch-n(<gml:Surface><gml:patches>
              </gml:patches></gml:Surface>,
              0 cast as xs:unsignedInt)