예제 #1
0
 static TemplateNodeModel loadWithXmlDataLoader(Engine eng, List args, Object preLoaderXml)
     throws Exception {
   XmlDataLoader xdl = new XmlDataLoader();
   return xdl.load(eng, args, (Document) preLoaderXml);
 }
예제 #2
0
 static Object loadXmlFile(Engine eng, File xmlFile, boolean validate) throws Exception {
   return XmlDataLoader.loadXmlFile(eng, xmlFile, true, validate);
 }