in the respective dom 119 thereafter the template generator 116 ends as shown with specific reference to fig4 b shown is a first portion of the recursive process called in box 179 fig4 a the recursive process begins at box 183 in which a current dom element 183 for which the recursive process was called is isolated to isolate the dom element 183 a starting point and an ending point of the respective dom element 129 is identified in this regard the template generator 116 looks for specific syntax within of the dom 119 from which the starting point and the ending point can be ascertained thereafter in box 186 the template generator 116 determines whether the current dom element is a leaf such that it does not include any further nested or children elements nodes if so then the template generator 116 proceeds to connector a as shown otherwise it is assumed that there is no content involved in the current dom element 129 i e there is no dom element content 156 and the template generator 116 moves to box 189 in box 189 the template generator 116 determines whether the dom element layout 153 is well formed based upon a set.