DataSource yahooDS = new DataSource();
yahooDS.setDataURL("http://api.search.yahoo.com/ImageSearchService/V1/imageSearch");
yahooDS.setRecordXPath("/yahoo:ResultSet/yahoo:Result");
XmlNamespaces xmlNamespaces = new XmlNamespaces();
xmlNamespaces.addNamespace("yahoo", "urn:yahoo:srchmi");
yahooDS.setXmlNamespaces(xmlNamespaces);
DataSourceImageField thumbnail = new DataSourceImageField("Thumbnail", "Thumbnail");
thumbnail.setWidth(150);
thumbnail.setImageHeight("imageHeight");