
</html>
–The CustomerResult.xsl needs to construct an HTML file, and it should match that data from the XML data representation to insert it into the HTML file. So, in the code in Example
Example 10-10 Sample of CustomerResult stylesheet form
<xsl:template match="/"> <html>
<head>
<title>Customer Registration Information</title> <style type="text/css">
<![CDATA[ body
{
}
h3
{
color: #0000ff;
}
]]>
</style>
</head>
<body>
</html>
</xsl:template>
–Example
The table includes four templates to be matched from the XML data, which are the membership, firstName, lastName, and
Example
<xsl:template match="Customer"> <h3>Customer Registration Information</h3>
<table border="0" cellpadding="2" cellspacing="0">
236 The XML Files: Development of XML/XSL Applications Using WebSphere Studio