Test results for Linux |
Test for user specified record separator creating level 1 elements from the input stream.
Pass
cat _INPUT_DATA_ ¦ xmlfy -R .
Word. Two words. Now three words. This is four words.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <field>Word</field> </line> <line> <field>Two</field> <field>words</field> </line> <line> <field>Now</field> <field>three</field> <field>words</field> </line> <line> <field>This</field> <field>is</field> <field>four</field> <field>words</field> </line> </xmlfy>