* @throws Exception if instantiation fails
*/
public Object readLoader(Element node) throws Exception {
Object result;
Vector children;
Element child;
int i;
String name;
String file;
File fl;
// for debugging only
if (DEBUG)
trace(new Throwable(), node.getAttribute(ATT_NAME));
m_CurrentNode = node;
result = Class.forName(node.getAttribute(ATT_CLASS)).newInstance();
children = XMLDocument.getChildTags(node);
file = "";
Object relativeB = null;
boolean relative = false;
for (i = 0; i < children.size(); i++) {
child = (Element) children.get(i);
name = child.getAttribute(ATT_NAME);
if (name.equals(VAL_FILE)) {
file = (String) invokeReadFromXML(child);
} else if (name.equals(VAL_RELATIVE_PATH)) {
relativeB = readFromXML(child);