IBM Version 5 Universal Remote User Manual


 
Chapter 10. Development of XML-based Enterprise applications 235
<td><input name="membership" type="text" size="20"
maxlength="40" value="membership"/></td>
</tr>
</xsl:template>
CustomerResult.xsl represents the stylesheet for the target HTML
representation of the retrieved customer registration information.
The structure of the XML input data, which we can apply to this style sheet
is shown in Example 10-8.
Example 10-8 Sample structure for the input XML data to the stylesheet
<Customer>
<membership>........</membership>
<firstName>........</firstName>
<lastName>........</lastName>
<email>........</email>
</Customer>
The structure of the target HTML format for the customer XML data is
shown in Example 10-9.
Example 10-9 Format of the target HTML representation for the customer data
<html>
<head>
<title>Customer Registration Information</title>
</head>
<body>
<h3>Customer info</h3>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td>Membership: </td>
<td><b>........</b></td>
</tr>
<tr>
<td>First Name: </td>
<td><b>........</b></td>
</tr>
<tr>
<td>Last Name: </td>
<td><b>........</b></td>
</tr>
<tr>
<td>Email: </td>
<td><b>........</b></td>
</tr>
</table>
</body>