<%@taglib uri="http://jakarta.apache.org/taglibs/xsl-1.0" prefix="xsl" %> Employee List

This page creates several versions of the same table, using the same XML data and XSL stylesheet (so that the output should appear identically), but using different techniques to retrieve the XML data. Display the source of this JSP page (from the examples menu) to see how these techniques are used.


This version of the table was created by reading an external XML document and an external XSL stylesheet.


This version of the table was created by treating the nested content as the XML document (simulating the case where the JSP page itself would be rendering XML output), but using an external XSL stylesheet.

John Doe 800-555-1212 Jane Smith 888-555-1212 George Taylor 555-555-1212

This version of the table was created by loading the nested content with an <xsl:include> action (simulating asking a different servlet or JSP page to render the desired XML data) and using the same external XSL stylesheet.


This version of the table was created by importing the XML data into a page-scope attribute, and then applying the stylesheet to it.