Notes for more details dataset reference; datapath reference

A <dataset> can also point to a server-side program (in this example, a JSP) that generates the XML document dynamically. This is the most popular approach to develop applications that use dynamic data coming from a database or any other datasource.

In this example, a JSP (JavaServer Page) is used to retrieve data from a relational database and format the result set as an XML document.

A dataset can point to any kind of server-side program that is capable of generating XML dynamically: JavaServer Pages, Servlets, Microsoft Active Server Pages, ColdFusion pages, CGI applications, PHP scripts, etc.