/* This file is part of Pazpar2.
- Copyright (C) 2006-2011 Index Data
+ Copyright (C) 2006-2012 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
else
{
yaz_log(YLOG_FATAL, "Invalid attribute %s for xslt element",
- (const char *) n->name);
+ (const char *) attr->name);
return -1;
}
if (!id)
{
yaz_log(YLOG_FATAL, "Missing attribute id for xslt element");
- return 0;
+ return -1;
}
while (root && root->type != XML_ELEMENT_NODE)
root = root->next;