Database Reference
In-Depth Information
Figure 11-49
the DBP-e13-
CustomerListStyleSheet.xls
XSL Stylesheet
in the DBP-e13-CustomerListStyleSheet.xsl in Figure 11-49, a stylesheet is used by XSLT to
indicate how to transform the elements of the XML document into another format. Here those
elements will transform it into an HTML document that will be acceptable to a browser.
The XSLT processor copies the elements of the stylesheet until it finds a command in
the format { item, action }. When it finds such a command, it searches for an instance of the
indicated item; when it finds one, it takes the indicated action. For example, suppose the XSLT
processer encounters:
<xsl:for-each select = "CustomerList/Customer">
It then starts a search in the document for an element named CustomerList . When it finds such
an element, it looks further within the customerlist element for an element named Customer .
 
Search WWH ::




Custom Search