Test results for Win32 Console |
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 -S schema.dtd
Word. Two words. Now three words. This is four words.
<!-- xmlfy-args: -R . -X HTML table --> <!ELEMENT blockquote (p+)> <!ELEMENT p (b, i*, b)> <!ELEMENT b (#PCDATA)> <!ELEMENT i (#PCDATA)>
<!DOCTYPE html> <html> <head> <title>xmlfy</title> <!-- sed_hook --> </head> <body> <blockquote> <p> <b>Two</b> <b>words</b> </p> <p> <b>Now</b> <i>three</i> <b>words</b> </p> <p> <b>This</b> <i>is</i> <i>four</i> <b>words</b> </p> </blockquote> </body> </html>