Test results for Linux

test_001243_option_xmlformat_html_list

Test description

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

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -R . -X HTML list -A1 insert class abc -T0 insertfilexml raw _INSERT_DATA_ -p rtagopen -p records -p rtagclose -p footer -T1 reinsert hr ""

Input data

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

Insert data

<!DOCTYPE html>
<html>
  <head>
    <title>HTML test - list</title>
  </head>
  <body>

Output result

<!DOCTYPE html>
<html>
  <head>
    <title>HTML test - list</title>
  </head>
  <body>
    <p>
      <hr></hr>
      <ul class="abc">
        <li>Word</li>
      </ul>
      <hr></hr>
      <ul class="abc">
        <li>Two</li>
        <li>words</li>
      </ul>
      <hr></hr>
      <ul class="abc">
        <li>Now</li>
        <li>three</li>
        <li>words</li>
      </ul>
      <hr></hr>
      <ul class="abc">
        <li>This</li>
        <li>is</li>
        <li>four</li>
        <li>words</li>
      </ul>
    </p>
  </body>
</html>

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