Hitachi

uCosminexus Application Server XML Processor User Guide


5.7.6 Execution Result of the Sample Program (SampleXSLT.java)

Organization of this subsection

(1) Execution result of the sample program

The execution result of this sample program is output to the standard output. The following shows the content of the standard output:

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<TITLE>Display XML at a table of HTML</TITLE>
</HEAD>
<BODY BGCOLOR="#C0C0C0">
<FONT SIZE="5">Ordering Payment Slip</FONT>
<TABLE BORDER="2">
<TR>
<TH>Brand_Name</TH><TH>Unit_Price</TH><TH>Amount</TH><TH>Subtotal</TH>
</TR>
<TR>
<TD>Television</TD>
      <TD ALIGN="RIGHT">15000</TD>
      <TD ALIGN="RIGHT">14</TD>
    <TD ALIGN="RIGHT">210000</TD>
</TR>
<TR>
<TD>Radio</TD>
      <TD ALIGN="RIGHT">3500</TD>
      <TD ALIGN="RIGHT">6</TD>
    <TD ALIGN="RIGHT">21000</TD>
</TR>
<TR>
<TD>Video</TD>
      <TD ALIGN="RIGHT">21000</TD>
      <TD ALIGN="RIGHT">4</TD>
    <TD ALIGN="RIGHT">84000</TD>
</TR>
<TR>
<TH>Total</TH><TD>&nbsp;</TD><TD>&nbsp;</TD><TD ALIGN="RIGHT">315000</TD>
</TR>
</TABLE>
</BODY>
</HTML>