+
+ if (yaz_filepath_resolve(tinfo->fname, tinfo->profile_path,
+ NULL, tmp_full_name))
+ tinfo->full_name = xstrdup(tmp_full_name);
+ else
+ tinfo->full_name = xstrdup(tinfo->fname);
+
+ yaz_log(YLOG_LOG, "xslt filter: loading config file %s", tinfo->full_name);
+
+ tinfo->doc = xmlParseFile(tinfo->full_name);
+ if (!tinfo->doc) {
+ yaz_log(YLOG_WARN, "xslt filter: could not parse config file %s",
+ tinfo->full_name);
+ return ZEBRA_FAIL;
+ }
+