public class Use {
	public static void main (String[] args) {
		String price=Helper.queryPrice("Yan Bo","http://sparc68.cse.cuhk.edu.hk:8080/examples/servlet/CompareXML");
		String onhand=Helper.queryOnhand("Yan Bo","http://sparc68.cse.cuhk.edu.hk:8080/examples/servlet/CompareXML");
		if (price==null) {
			System.out.println("The site does not have product - Yan Bo");
		} else {
			System.out.println("The site has product - Yan Bo with price :"+price);
		}
		if (onhand==null) {
			System.out.println("The site does not have product - Yan Bo");
		} else {
			System.out.println("The site has product - Yan Bo with onhand :"+onhand);
		}
		return;
	}
}
