XSL Template for rendering deeply nested templates