query;=declare namespace xhtml="http://www.w3.org/1999/xhtml"; declare namespace geo="http://www.w3.org/2003/01/geo/wgs84_pos#"; declare namespace dc="http://purl.org/dc/elements/1.1/"; let $space := " " let $nl := " " for $x in doc($myDoc)/rss/channel/item let $lat :=string($x/geo:lat) let $long := string($x/geo:long) let $mag := string($x/dc:subject[1]) let $depth := substring-before(string($x/dc:subject[3]),' ') return(concat($lat,$space,$long,$space,$mag,$space,$depth,$nl)) normalization;=-90,-180,0,0 90,180,10,200