for today's phone call: sample xml describing eclf

From: Marc Abrams (abrams@vt.edu)
Date: Fri, Jun 04 1999


Message-ID: <3757F270.CA9DC504@vt.edu>
Date: Fri, 04 Jun 1999 11:36:16 -0400
From: Marc Abrams <abrams@vt.edu>
To: "www-wca@w3.org" <www-wca@w3.org>
CC: Hussein Suleman <hussein@vt.edu>
Subject: for today's phone call:  sample xml describing eclf


One of the agenda items is to discuss details of using xml to describe various
log file formats.  Attached is an example of using xml to describe an extended
common log format.  The example was created by Hussein Suleman.

-- 
Marc Abrams, Associate Professor                         
  508 McBryde Hall, Dept. of Computer Science, Virginia Tech
  Blacksburg, VA 24061-0106 U.S.A.
  voice:  (540) 231-8457, fax: (540) 231-6075

<!-- XML Definition for log2anon
     Author: Hussein Suleman
     Version: 1.0
-->

<?XML version="1.0" encoding="UTF-8" standalone="yes" ?>

<!DOCTYPE log2anon [

 <!ELEMENT logfileentry (field, (tab, field)*)>

 <!ELEMENT field ANY>

 <!ELEMENT tab EMPTY>

 <!ELEMENT string EMPTY>
 <!ATTLIST value CDATA>

 <!ELEMENT number EMPTY>
 <!ATTLIST number lower CDATA "unbounded">
                  upper CDATA "unbounded">

]>


<logfileentry>

<!-- request time -->
<field><number lower="0"/><string value="."/>
<number lower="0"/></field><tab/>

<!-- elapsed time -->
<field><number lower="0"/></field><tab/>

<!-- size -->
<field><number lower="0"/></field><tab/>

<!-- client ID -->
<field><number lower="0"/></field><tab/>

<!-- uri ID -->
<field><number lower="0"/></field><tab/>

<!-- protocol ID -->
<field><number lower="0"/></field><tab/>

<!-- uri host ID -->
<field><number lower="0"/></field><tab/>

<!-- server ID -->
<field><number lower="0"/></field><tab/>

<!-- response -->
<field><number lower="100" upper="599"/></field><tab/>

<!-- method ID -->
<field><number lower="0"/></field><tab/>

<!-- action ID -->
<field><number lower="0"/></field><tab/>

<!-- hierarchy ID -->
<field><number lower="0"/></field><tab/>

<!-- content ID -->
<field><number lower="0"/></field>

</logfileentry>