AperciteCache ac = new AperciteCache();
String docSrc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><job action=\"add\"></job>";
Doc doc;
try {
doc = new Doc(docSrc);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return;
}
doc.addElement("/job", "url", "http://www.eolya.fr");
doc.addElement("/job", "apercite_target", "apercite_image");
doc.addElement("/job", "apercite_target", "apercite_image");
doc.addElement("/job", "apercite_target", "apercite_image");
doc.addElement("/job", "apercite_target", "apercite_image");
/*
* <param name="url">item_url</param>
* <param name="apercite_target">apercite_image</param>
* <param name="apercite_cache_path">apercite_image</param>