DeveloperWorks has published an article showing how to use XQuery in Java to extract information not only from XML documents, but also from HTML pages. For instance, you can write a simple application to extract stock quotes or weather data from a Yahoo! page and feed it directly into your own Java program for further processing...
↧