Subject: Electronic Commerce Documents

From: David Lyon <[email-masked]>
Date: Wed, 20 Jan 1999 11:00:05 +1100

I've been playing around with some XML based document formats lately, and wondering if anyone is interested.

I've defined some documents for:

 - Electronic Catalogs
 - Quote Request
 - Purchase Orders
 - Account statements

Here's a look at a few examples (I've stipped the headers). This one is a statement

<CompanyStatement>
  <Header Fields>
   CustomerID%="2" CompanyName&="Old World Delicatessen"
    <Line Items>
     TransactionID%="1" TransactionNumber%="324234" TransactionDate@="19981228" TransactionType&="PAYMENT" TransactionDescription&="Payment" WithdrawalAmount$="500" DepositAmount$="0" Taxable?="FALSE" CustomerID%="2"
    </Line Items>
</CompanyStatement>

and this one is a catalog:

<CompanyCatalog>
  <Originator Business Card>
   CompanyName&="White Clover Markets" Address&="305 - 14th Ave. S.
Suite 3B"
 CityOfOrigin&="Seattle" StateOrProvince&="WA" PostalCode&="98128" Country&="USA"
 PhoneNumber&="7065554112"
  </Originator Business Card>
  <Product Information>
    <Product Groups>
     CategoryID%="1" CategoryName&="Beverages"
      <Product SubGroups>
        <Product Items>
         ProductID%="1" ProductName&="Dharamsala Tea" ProductDescription&="NULL" CategoryID%="1"
 SerialNumber&="NULL" UnitPrice$="18" ReorderLevel%="10" Discontinued?="FALSE" LeadTime&="10 Days"
        </Product Items>
        <Product Items>
         ProductID%="2" ProductName&="Tibetan Barley Beer" ProductDescription&="NULL"
 CategoryID%="1" SerialNumber&="NULL" UnitPrice$="19" ReorderLevel%="25" Discontinued?="FALSE"
 LeadTime&="10 Days"
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="2" CategoryName&="Condiments"
      <Product SubGroups>
        <Product Items>
         ProductID%="3" ProductName&="Aniseed Syrup" ProductDescription&="NULL" CategoryID%="2"
 SerialNumber&="NULL" UnitPrice$="10" ReorderLevel%="25" Discontinued?="FALSE" LeadTime&="10 Days"
        </Product Items>
        <Product Items>
         ProductID%="4" ProductName&="Chef Anton's Cajun Seasoning" ProductDescription&="Cajun seasoning"
 CategoryID%="2" SerialNumber&="NULL" UnitPrice$="22" ReorderLevel%="0" Discontinued?="FALSE"
 LeadTime&="10 Days"
        </Product Items>
        <Product Items>
         ProductID%="5" ProductName&="Chef Anton's Gumbo Mix" ProductDescription&="Gumbo mix"
 CategoryID%="2" SerialNumber&="NULL" UnitPrice$="21.35" ReorderLevel%="0" Discontinued?="FALSE"
 LeadTime&="10 Days"
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="3" CategoryName&="Confections"
      <Product SubGroups>
        <Product Items>
         ProductID%="6" ProductName&="Barley Sugar" ProductDescription&="Barley Suger"
 CategoryID%="3" SerialNumber&="NULL" UnitPrice$="19" ReorderLevel%="1" Discontinued?="FALSE"
 LeadTime&="NULL"
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="4" CategoryName&="Dairy Products"
      <Product SubGroups>
        <Product Items>
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="5" CategoryName&="Grains/Cereals"
      <Product SubGroups>
        <Product Items>
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="6" CategoryName&="Meat/Poultry"
      <Product SubGroups>
        <Product Items>
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="7" CategoryName&="Produce"
      <Product SubGroups>
        <Product Items>
        </Product Items>
      </Product SubGroups>
    </Product Groups>
    <Product Groups>
     CategoryID%="8" CategoryName&="Seafood"
      <Product SubGroups>
        <Product Items>
         ProductID%="7" ProductName&="Petes Product" ProductDescription&="Something"
 CategoryID%="8" SerialNumber&="NULL" UnitPrice$="15" ReorderLevel%="5" Discontinued?="FALSE"
 LeadTime&="8 Days"
        </Product Items>
      </Product SubGroups>
    </Product Groups>
  </Product Information>
</CompanyCatalog>

---

From: Patrik Fältström <[email-masked]>
Date: Wed, 20 Jan 1999 06:40:11 +0100

>  - Electronic Catalogs

For electronic catalogs, Frank Dawson and Paul Hoffman is working on 
a standardized translation of vCard definitions into XML. This so 
standardized vCards can be translated in a uniform way into/from XML.

   Patrik

------------------------------------------------------------------
Area Director, Applications Area               Email: [email-masked]
IETF                                             URL: http://paf.se
                                          PGP Key ID: 0xBD236602

   In theory there is no difference between theory and practice,
   but in practice, there is.
-----------------------------------------------------------------------
Message addressed to: [email-masked]
Archive available at: http://www.elistx.com/archives/ietf-trade/
To (un)subscribe send a message with "subscribe" or "unsubscribe" in the
body to: [email-masked]