# # # # convert_node_to_alert_html # # # # include "templates.util.encoding"; #KHP 14/Feb/2011 - this is not anymore used # #subroutine(convert_node_to_alert_html( # node the_node), ( # # # Converts the given node to a html string # # node item; # # foreach item the_node ( # # if (num_subnodes(item) == 0) then ( # # node_name(item) . ': ' . @item . '\n'; # ) # else ( # convert_node_to_alert_html(item); # ); # ); #));