// -----------------------------------------------------------
// Include the Class File
include_once('daoc_guild_xml.class.php');
// Set the file name and create the guild object
if(!$file) {
$file = 'http://www.camelotherald.com/guilds/Igraine/517.xml';
}
$guild = new DaocGuildXML();
$guild->setFileName($file);
// Parse the file
$guild->parseFile();
$char_attr = $guild->getCharAttributes();
// -----------------------------------------------------------