dler());
        transformer.transform(src, res);
    } catch (Exception ex) {
        throw new ServletException(ex);
    }
}</pre>
<div class="note">
<div class="label">Note</div>
<div class="content">
          There are numerous problems with the code snippet above.
          Its purpose is only to demonstrate the basic concepts.
          See below for details.
        </div>
</div>
<a name="xslt"></a>
<h3 class="underlined_5">Adding XSL tranformation (XSLT)</h3>
<p>
          A common requirement is t