The invention provides a method of interactively crawling data records on
a web page. Users may select various data records of interest on a web
page to generate templates to search for similar data items on the same
web page or on different web pages. A tree matching algorithm may be used
to compare and extract data matching the generated template.