The presentation layer accepts the HTTP request, decides what tasks must be executed in order to fill it, and then initiates their execution. In most cases, this involves invoking the command processor in the service layer and then transforming the result via a series of XSLT style sheets. The site map (which is a part of Cocoon) maintains the mapping of request parameters to task pipelines.