]> functionIndex This function returns the names of the functions that are to be defined in this file. This allows one to know ahead of time what functions the file defines and to source specific functions from this file using the which argument of xmlSource function(file, ...) { d &sgets; xmlRoot(xmlTreeParse(file, ...)) sapply(d[names(d) == "function"], function(x) { if(!is.na(match("sname", names(x)))) xmlValue(x[["sname"]][[1]]) else { xmlValue(x[[1]][[1]]) } }) }