Hitachi

uCosminexus Application Server XML Processor User Guide


5.7.3 XML Document to Use (SampleXSLT.xml)

The following shows the XML document read by the sample program.

<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="SampleXSLT.xsl" ?>
<START>
  <Payment_Slip>
    <Merchandise>
      <Brand_Name>Television</Brand_Name>
      <Unit_Price>15000</Unit_Price>
      <Amount>14</Amount>
    </Merchandise>
    <Merchandise>
      <Brand_Name>Radio</Brand_Name>
      <Unit_Price>3500</Unit_Price>
      <Amount>6</Amount>
    </Merchandise>
    <Merchandise>
      <Brand_Name>Video</Brand_Name>
      <Unit_Price>21000</Unit_Price>
      <Amount>4</Amount>
    </Merchandise>
  </Payment_Slip>
</START>