this little hack has allowed the files to load. This should probably be replaced with some sore of libxml2 funcion to access childElem