Test results for Solaris x86

test_001242_option_xmlformat_html_table

Test description

Test for user specified XML format output control by re-representing the
normal XML output as a table in HTML format. 

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -R . -X HTML table -I "Table Words" -A0 insert border 1

Input data

Word. Two words. Now three words. This is four words.

Output result

<!DOCTYPE html>
<html>
  <head>
    <title>Table Words</title>
    <!-- sed_hook -->
  </head>
  <body>
    <table border="1">
      <tr>
        <td>Word</td>
      </tr>
      <tr>
        <td>Two</td>
        <td>words</td>
      </tr>
      <tr>
        <td>Now</td>
        <td>three</td>
        <td>words</td>
      </tr>
      <tr>
        <td>This</td>
        <td>is</td>
        <td>four</td>
        <td>words</td>
      </tr>
    </table>
  </body>
</html>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".