it must be a callback function?

I want to use w3c lib to get the url and store it
into memory so that I can process it according to my
own way. It seems I must do everything through callback
function. But I don't want that way, any suggestions?

Tao Jiang     Visiting Scientist,            E40-369, CECI, MIT
phone:        (617)-253-3514(o)  (617)-576-9665 (h)
email:   jiangt@ceci.mit.edu    URL:  http://ceci.mit.edu/staff/jiangt/