]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/reporter/templates/utils
reporter stuff
[working/Evergreen.git] / Open-ILS / src / reporter / templates / utils
1 [%
2
3 BLOCK find_table_id;
4         xpath = '//*[@id="' _ id _ '"]';
5         node = config.findnodes(xpath);
6         IF node;
7                 t = node.findvalue('@table');
8                 IF t;
9                         xpath = '//*[@id="' _ t _ '"]';
10                         node = config.findnodes(xpath);
11                 END;
12                 node.findvalue('@id');
13         ELSE;
14                 logme(['arrrrrgggg!!!',id]);
15         END;
16 END;
17
18 %]