bug hunting and a (small) new set of widget code
[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 %]