[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] database -> XML



Hi j,

  I am curious as to why you chose to use xml attributes over elements?

i.e.

<loss cas="N" doa="20070523" exprrev="338.00" gcnt="2" los="2" rt="DELUXE" seg="07" src="TUSNTL-PH" time="20070420111725" type="RR"/>

vs.

  <loss>
    <cas>N</cas>
    <doa>20070523</doa>
    <exprrev>338.00</exprrev>
    <gcnt>2</gcnt>
    <los>2</los>
    <rt>DELUXE</rt>
    <seg>07</seg>
    <src>TUSNTL-PH</src>
    <time>20070420111725</time>
    <type>RR</type>
  </loss>


Later,
George.