Hi, emj, thanks for you kind reply and help, thank you.

Okay, suppose we are looking through the openstreetmap website http://www.openstreetmap.org. Everytime we zoom in/out or drag the map window, different map contents, including nodes and ways, will display, right? The different map contents are the OSM XML data that I mentioned.

What I want to know is: everytime we change the map window, we can get the corresponding map extent. According to the map extent, how to get the correponding OSM XML data in ASP (or JSP, any tool can do it) web page which has embeded the openstreetmap using code?

I mean that to get the map contents, is to downlaod the OSM XML data file, or just read them into memory.

If I am not clear, please do not heistate to let me know. I can explain it until it is clear. I really want to figure it out.

Thank you so much!

Yours sincerely,

Xintao