<way id="11552263" user="GeoGrafiker" uid="69127" visible="true" version="5" changeset="1845506" timestamp="2009-07-16T15:51:05Z">
<nd ref="103005166" />
<nd ref="103005167" />
<nd ref="103005169" />
<nd ref="103001090" />
<nd ref="102999142" />
<nd ref="103003909" />
<tag k="created_by" v="Potlatch 0.10f" />
<tag k="highway" v="residential" />
<tag k="name" v="Mai Hac De" />
way>
When I enter "Mai Hac Ðe" ,The all node id of this way is saved in Array .This node are 103005166,103005167 ,103001090,102999142,103003909.This function is
public Array Search(string name)
{
....
}
.Can you help me ,please???
toanhoi buiPosted Oct 5, 2010, 12:56 AM
Mike GoldPosted Oct 4, 2010, 10:51 PM
e.g.
var items= doc.Descendants("way").Select (xElem => xElem.Attributes("ref").Value).ToArray();