Test results for Linux |
Test for user specified XML format output control by re-representing the normal XML output as a table in HTML format.
Pass
cat _INPUT_DATA_ ¦ xmlfy -R . -X HTML table -I "Table Words" -A0 insert border 1
Word. Two words. Now three words. This is four words.
<!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>