Test results for Linux |
Test for user specified XML format output control by re-representing the normal XML output as a list in HTML format.
Pass
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 ""
Word. Two words. Now three words. This is four words.
<!DOCTYPE html> <html> <head> <title>HTML test - list</title> </head> <body>
<!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>