gedas 0 Junior Poster

hey guys im trying to create simple map with few pointers on it using google maps well basicaly the pointers would be representing location and they would be storeded on xml file that woul look something like the code below and than it would be processed by JavaScript

<location> stop 1</location>
<longitude> 51.2223 </longitude>
<latitude>0.237191</latitude>

//there would be few more locations like this one but with different coordinates

what i want to do is have a little search bar where i could for example enter "stop 1" and it would lead me to that location on the map .
i hope everybody understands what i mean if something is unclear pleases say so:)
i would greatly appreciate any help what so ever or any references that would help me to do this