Test results for Cygwin

test_010080_example_html_table

Test description

Test for correct functionality of the examples used in the xmlfy documentation.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -S schema.dtd

Input data

     UID   PID  PPID   C    STIME TTY         TIME CMD
    root   683   680   0 11:41:26 pts/4       0:00 bash
    root   763   683   0 12:00:54 pts/4       0:00 ps -f

Schema

<!-- xmlfy-args: -p rtagopen -p records -p rtagclose -A0 attrname border 1 -A0 attrname bgcolor #ffffcc -->
<!ELEMENT table (tr*)>
<!ELEMENT tr (td*)>
<!ELEMENT td (#PCDATA)>

Output result

<table border="1" bgcolor="#ffffcc">
  <tr>
    <td>UID</td>
    <td>PID</td>
    <td>PPID</td>
    <td>C</td>
    <td>STIME</td>
    <td>TTY</td>
    <td>TIME</td>
    <td>CMD</td>
  </tr>
  <tr>
    <td>root</td>
    <td>683</td>
    <td>680</td>
    <td>0</td>
    <td>11:41:26</td>
    <td>pts/4</td>
    <td>0:00</td>
    <td>bash</td>
  </tr>
  <tr>
    <td>root</td>
    <td>763</td>
    <td>683</td>
    <td>0</td>
    <td>12:00:54</td>
    <td>pts/4</td>
    <td>0:00</td>
    <td>ps</td>
    <td>-f</td>
  </tr>
</table>

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