Test results for Solaris x86

test_001220_option_attribute

Test description

Test for a elements with user specified attributes at the levels specified.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -A delimiter -A1 level -A1 timestamp -A2 number -A2 insert data simple

Input data

Team Won Lost Drawn
Barcelona 5 1 2
Manchester 4 2 2
 
Milan 2 2 4

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <line level="1" delimiter="NEWLINE" timestamp_date="Mon Apr 15 12:32:27 2013" timestamp_secs="1365993147">
    <field number="1" delimiter="WHITESPACE" data="simple">Team</field>
    <field number="2" delimiter="WHITESPACE" data="simple">Won</field>
    <field number="3" delimiter="WHITESPACE" data="simple">Lost</field>
    <field number="4" delimiter="" data="simple">Drawn</field>
  </line>
  <line level="1" delimiter="NEWLINE" timestamp_date="Mon Apr 15 12:32:27 2013" timestamp_secs="1365993147">
    <field number="1" delimiter="WHITESPACE" data="simple">Barcelona</field>
    <field number="2" delimiter="WHITESPACE" data="simple">5</field>
    <field number="3" delimiter="WHITESPACE" data="simple">1</field>
    <field number="4" delimiter="" data="simple">2</field>
  </line>
  <line level="1" delimiter="NEWLINE" timestamp_date="Mon Apr 15 12:32:27 2013" timestamp_secs="1365993147">
    <field number="1" delimiter="WHITESPACE" data="simple">Manchester</field>
    <field number="2" delimiter="WHITESPACE" data="simple">4</field>
    <field number="3" delimiter="WHITESPACE" data="simple">2</field>
    <field number="4" delimiter="" data="simple">2</field>
  </line>
  <line level="1" delimiter="NEWLINE" timestamp_date="Mon Apr 15 12:32:27 2013" timestamp_secs="1365993147">
    <field number="1" delimiter="WHITESPACE" data="simple">Milan</field>
    <field number="2" delimiter="WHITESPACE" data="simple">2</field>
    <field number="3" delimiter="WHITESPACE" data="simple">2</field>
    <field number="4" delimiter="" data="simple">4</field>
  </line>
</xmlfy>

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