]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Add SportInfo support for mlbrunsleadersxml.dtd.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Jun 2014 14:32:21 +0000 (10:32 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Jun 2014 14:32:21 +0000 (10:32 -0400)
doc/man1/htsn-import.1
schema/mlbrunsleadersxml.dtd [new file with mode: 0644]
schemagen/mlbrunsleadersxml/mlbrunsleadersxml.xml [new file with mode: 0644]
src/TSN/XML/SportInfo.hs
test/xml/sportinfo/mlbrunsleadersxml.dtd [new file with mode: 0644]
test/xml/sportinfo/mlbrunsleadersxml.xml [new file with mode: 0644]

index 902324ccb7042beb0012fca2fb4bbefddb94760d..963c9bd05ba8cce41e4057856088db3437b3d32e 100644 (file)
@@ -204,6 +204,8 @@ MLBOPSXML.dtd
 MLBPlateAppsXML.dtd
 .IP \[bu]
 mlbrbisxml.dtd
+.IP \[bu]
+mlbrunsleadersxml.dtd
 .RE
 .P
 The GameInfo and SportInfo types do not have their own top-level
diff --git a/schema/mlbrunsleadersxml.dtd b/schema/mlbrunsleadersxml.dtd
new file mode 100644 (file)
index 0000000..a80b5d2
--- /dev/null
@@ -0,0 +1,32 @@
+<!ELEMENT message  (XML_File_ID, heading , category , sport , title , listing+ , time_stamp )>\r
+\r
+<!ELEMENT XML_File_ID  (#PCDATA )>\r
+\r
+<!ELEMENT heading  (#PCDATA )>\r
+\r
+<!ELEMENT category  (#PCDATA )>\r
+\r
+<!ELEMENT sport  (#PCDATA )>\r
+\r
+<!ELEMENT title  (#PCDATA )>\r
+\r
+<!ELEMENT listing  (rank , name , runs , average , homeruns , rbi , onbase , slugging )>\r
+\r
+<!ELEMENT rank  (#PCDATA )>\r
+\r
+<!ELEMENT name  (#PCDATA )>\r
+\r
+<!ELEMENT runs  (#PCDATA )>\r
+\r
+<!ELEMENT average  (#PCDATA )>\r
+\r
+<!ELEMENT homeruns  (#PCDATA )>\r
+\r
+<!ELEMENT rbi  (#PCDATA )>\r
+\r
+<!ELEMENT onbase  (#PCDATA )>\r
+\r
+<!ELEMENT slugging  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/schemagen/mlbrunsleadersxml/mlbrunsleadersxml.xml b/schemagen/mlbrunsleadersxml/mlbrunsleadersxml.xml
new file mode 100644 (file)
index 0000000..337f4a6
--- /dev/null
@@ -0,0 +1,410 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "mlbrunsleadersxml.dtd">\r
+<message>\r
+<XML_File_ID>1002817</XML_File_ID>\r
+<heading>AAX%AL-RUNS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>MLB</sport>\r
+<title>2001 AL Runs Leaders</title>\r
+<listing>\r
+<rank>1</rank>\r
+<name>Ichiro Suzuki, SEA</name>\r
+<runs>71</runs>\r
+<average>.349</average>\r
+<homeruns>4</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.378</onbase>\r
+<slugging>.465</slugging>\r
+</listing>\r
+<listing>\r
+<rank>2</rank>\r
+<name>Alex Rodriguez, TEX</name>\r
+<runs>70</runs>\r
+<average>.315</average>\r
+<homeruns>23</homeruns>\r
+<rbi>67</rbi>\r
+<onbase>.401</onbase>\r
+<slugging>.599</slugging>\r
+</listing>\r
+<listing>\r
+<rank>3</rank>\r
+<name>Mike Sweeney, KC</name>\r
+<runs>68</runs>\r
+<average>.335</average>\r
+<homeruns>21</homeruns>\r
+<rbi>63</rbi>\r
+<onbase>.395</onbase>\r
+<slugging>.646</slugging>\r
+</listing>\r
+<listing>\r
+<rank>4</rank>\r
+<name>Bret Boone, SEA</name>\r
+<runs>60</runs>\r
+<average>.326</average>\r
+<homeruns>21</homeruns>\r
+<rbi>80</rbi>\r
+<onbase>.362</onbase>\r
+<slugging>.589</slugging>\r
+</listing>\r
+<listing>\r
+<rank>5</rank>\r
+<name>Shannon Stewart, TOR</name>\r
+<runs>58</runs>\r
+<average>.323</average>\r
+<homeruns>6</homeruns>\r
+<rbi>35</rbi>\r
+<onbase>.385</onbase>\r
+<slugging>.481</slugging>\r
+</listing>\r
+<listing>\r
+<rank>6</rank>\r
+<name>Juan Gonzalez, CLE</name>\r
+<runs>57</runs>\r
+<average>.341</average>\r
+<homeruns>21</homeruns>\r
+<rbi>74</rbi>\r
+<onbase>.378</onbase>\r
+<slugging>.615</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Raul Mondesi, TOR</name>\r
+<runs>57</runs>\r
+<average>.283</average>\r
+<homeruns>16</homeruns>\r
+<rbi>47</rbi>\r
+<onbase>.375</onbase>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>8</rank>\r
+<name>Mike Cameron, SEA</name>\r
+<runs>56</runs>\r
+<average>.270</average>\r
+<homeruns>14</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.355</onbase>\r
+<slugging>.522</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Matt Lawton, MIN</name>\r
+<runs>56</runs>\r
+<average>.299</average>\r
+<homeruns>6</homeruns>\r
+<rbi>40</rbi>\r
+<onbase>.410</onbase>\r
+<slugging>.423</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Cristian Guzman, MIN</name>\r
+<runs>56</runs>\r
+<average>.306</average>\r
+<homeruns>7</homeruns>\r
+<rbi>31</rbi>\r
+<onbase>.344</onbase>\r
+<slugging>.500</slugging>\r
+</listing>\r
+<listing>\r
+<rank>11</rank>\r
+<name>Manny Ramirez, BOS</name>\r
+<runs>55</runs>\r
+<average>.331</average>\r
+<homeruns>25</homeruns>\r
+<rbi>82</rbi>\r
+<onbase>.429</onbase>\r
+<slugging>.649</slugging>\r
+</listing>\r
+<listing>\r
+<rank>12</rank>\r
+<name>Roberto Alomar, CLE</name>\r
+<runs>54</runs>\r
+<average>.354</average>\r
+<homeruns>8</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.426</onbase>\r
+<slugging>.536</slugging>\r
+</listing>\r
+<listing>\r
+<rank>13</rank>\r
+<name>Ellis Burks, CLE</name>\r
+<runs>53</runs>\r
+<average>.295</average>\r
+<homeruns>20</homeruns>\r
+<rbi>53</rbi>\r
+<onbase>.371</onbase>\r
+<slugging>.602</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Bernie Williams, NYY</name>\r
+<runs>53</runs>\r
+<average>.324</average>\r
+<homeruns>14</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.409</onbase>\r
+<slugging>.551</slugging>\r
+</listing>\r
+<listing>\r
+<rank>15</rank>\r
+<name>Derek Jeter, NYY</name>\r
+<runs>52</runs>\r
+<average>.288</average>\r
+<homeruns>6</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.367</onbase>\r
+<slugging>.402</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>John Olerud, SEA</name>\r
+<runs>52</runs>\r
+<average>.317</average>\r
+<homeruns>10</homeruns>\r
+<rbi>55</rbi>\r
+<onbase>.427</onbase>\r
+<slugging>.484</slugging>\r
+</listing>\r
+<listing>\r
+<rank>17</rank>\r
+<name>Miguel Tejada, OAK</name>\r
+<runs>51</runs>\r
+<average>.268</average>\r
+<homeruns>16</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.324</onbase>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank>18</rank>\r
+<name>Greg Vaughn, TB</name>\r
+<runs>50</runs>\r
+<average>.247</average>\r
+<homeruns>20</homeruns>\r
+<rbi>56</rbi>\r
+<onbase>.332</onbase>\r
+<slugging>.502</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Johnny Damon, OAK</name>\r
+<runs>50</runs>\r
+<average>.229</average>\r
+<homeruns>5</homeruns>\r
+<rbi>32</rbi>\r
+<onbase>.292</onbase>\r
+<slugging>.328</slugging>\r
+</listing>\r
+<listing>\r
+<rank>20</rank>\r
+<name>Carlos Delgado, TOR</name>\r
+<runs>49</runs>\r
+<average>.250</average>\r
+<homeruns>22</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.393</onbase>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>21</rank>\r
+<name>Paul Konerko, SOX</name>\r
+<runs>48</runs>\r
+<average>.277</average>\r
+<homeruns>16</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.353</onbase>\r
+<slugging>.507</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Magglio Ordonez, SOX</name>\r
+<runs>48</runs>\r
+<average>.304</average>\r
+<homeruns>19</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.386</onbase>\r
+<slugging>.556</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Troy Glaus, ANA</name>\r
+<runs>48</runs>\r
+<average>.250</average>\r
+<homeruns>21</homeruns>\r
+<rbi>52</rbi>\r
+<onbase>.362</onbase>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Corey Koskie, MIN</name>\r
+<runs>48</runs>\r
+<average>.262</average>\r
+<homeruns>11</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.355</onbase>\r
+<slugging>.447</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Edgar Martinez, SEA</name>\r
+<runs>48</runs>\r
+<average>.303</average>\r
+<homeruns>12</homeruns>\r
+<rbi>64</rbi>\r
+<onbase>.437</onbase>\r
+<slugging>.532</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tino Martinez, NYY</name>\r
+<runs>48</runs>\r
+<average>.260</average>\r
+<homeruns>14</homeruns>\r
+<rbi>57</rbi>\r
+<onbase>.315</onbase>\r
+<slugging>.451</slugging>\r
+</listing>\r
+<listing>\r
+<rank>27</rank>\r
+<name>Carlos Beltran, KC</name>\r
+<runs>47</runs>\r
+<average>.266</average>\r
+<homeruns>12</homeruns>\r
+<rbi>42</rbi>\r
+<onbase>.312</onbase>\r
+<slugging>.439</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jim Thome, CLE</name>\r
+<runs>47</runs>\r
+<average>.276</average>\r
+<homeruns>22</homeruns>\r
+<rbi>53</rbi>\r
+<onbase>.397</onbase>\r
+<slugging>.604</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Ray Durham, SOX</name>\r
+<runs>47</runs>\r
+<average>.247</average>\r
+<homeruns>10</homeruns>\r
+<rbi>30</rbi>\r
+<onbase>.320</onbase>\r
+<slugging>.432</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Darin Erstad, ANA</name>\r
+<runs>47</runs>\r
+<average>.283</average>\r
+<homeruns>5</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.349</onbase>\r
+<slugging>.394</slugging>\r
+</listing>\r
+<listing>\r
+<rank>31</rank>\r
+<name>Frank Menechino, OAK</name>\r
+<runs>46</runs>\r
+<average>.283</average>\r
+<homeruns>10</homeruns>\r
+<rbi>41</rbi>\r
+<onbase>.392</onbase>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Omar Vizquel, CLE</name>\r
+<runs>46</runs>\r
+<average>.262</average>\r
+<homeruns>1</homeruns>\r
+<rbi>20</rbi>\r
+<onbase>.341</onbase>\r
+<slugging>.318</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jason Giambi, OAK</name>\r
+<runs>46</runs>\r
+<average>.337</average>\r
+<homeruns>19</homeruns>\r
+<rbi>60</rbi>\r
+<onbase>.481</onbase>\r
+<slugging>.652</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Carl Everett, BOS</name>\r
+<runs>46</runs>\r
+<average>.284</average>\r
+<homeruns>9</homeruns>\r
+<rbi>42</rbi>\r
+<onbase>.344</onbase>\r
+<slugging>.472</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Trot Nixon, BOS</name>\r
+<runs>46</runs>\r
+<average>.263</average>\r
+<homeruns>12</homeruns>\r
+<rbi>39</rbi>\r
+<onbase>.377</onbase>\r
+<slugging>.475</slugging>\r
+</listing>\r
+<listing>\r
+<rank>36</rank>\r
+<name>Jose Offerman, BOS</name>\r
+<runs>44</runs>\r
+<average>.270</average>\r
+<homeruns>4</homeruns>\r
+<rbi>21</rbi>\r
+<onbase>.343</onbase>\r
+<slugging>.381</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jermaine Dye, KC</name>\r
+<runs>44</runs>\r
+<average>.283</average>\r
+<homeruns>11</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.343</onbase>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tony Clark, DET</name>\r
+<runs>44</runs>\r
+<average>.300</average>\r
+<homeruns>12</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.379</onbase>\r
+<slugging>.518</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul O`Neill, NYY</name>\r
+<runs>44</runs>\r
+<average>.260</average>\r
+<homeruns>11</homeruns>\r
+<rbi>41</rbi>\r
+<onbase>.325</onbase>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank>40</rank>\r
+<name>Rafael Palmeiro, TEX</name>\r
+<runs>43</runs>\r
+<average>.262</average>\r
+<homeruns>21</homeruns>\r
+<rbi>60</rbi>\r
+<onbase>.371</onbase>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<time_stamp> July 3, 2001, at 12:37 PM ET </time_stamp>\r
+</message>\r
index ff391a99216b21c186522996cf638a0db7f6d0af..94093b1498135ab2c0548335e1484b5e522fe502 100644 (file)
@@ -119,7 +119,7 @@ dtds =
     "MLBOPSXML.dtd",
     "MLBPlateAppsXML.dtd",
     "mlbrbisxml.dtd",
-    "mlbrunsleadersxml.dtd", -- no dtd
+    "mlbrunsleadersxml.dtd",
     "MLBSacFliesXML.dtd", -- no dtd
     "MLBSacrificesXML.dtd", -- no dtd
     "MLBSBSuccessXML.dtd", -- no dtd
@@ -363,7 +363,8 @@ sport_info_test_files =
     "mlbonbasepctxml.xml",
     "MLBOPSXML.xml",
     "MLBPlateAppsXML.xml",
-    "mlbrbisxml.xml"
+    "mlbrbisxml.xml",
+    "mlbrunsleadersxml.xml"
   ]
 
 
diff --git a/test/xml/sportinfo/mlbrunsleadersxml.dtd b/test/xml/sportinfo/mlbrunsleadersxml.dtd
new file mode 100644 (file)
index 0000000..a80b5d2
--- /dev/null
@@ -0,0 +1,32 @@
+<!ELEMENT message  (XML_File_ID, heading , category , sport , title , listing+ , time_stamp )>\r
+\r
+<!ELEMENT XML_File_ID  (#PCDATA )>\r
+\r
+<!ELEMENT heading  (#PCDATA )>\r
+\r
+<!ELEMENT category  (#PCDATA )>\r
+\r
+<!ELEMENT sport  (#PCDATA )>\r
+\r
+<!ELEMENT title  (#PCDATA )>\r
+\r
+<!ELEMENT listing  (rank , name , runs , average , homeruns , rbi , onbase , slugging )>\r
+\r
+<!ELEMENT rank  (#PCDATA )>\r
+\r
+<!ELEMENT name  (#PCDATA )>\r
+\r
+<!ELEMENT runs  (#PCDATA )>\r
+\r
+<!ELEMENT average  (#PCDATA )>\r
+\r
+<!ELEMENT homeruns  (#PCDATA )>\r
+\r
+<!ELEMENT rbi  (#PCDATA )>\r
+\r
+<!ELEMENT onbase  (#PCDATA )>\r
+\r
+<!ELEMENT slugging  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/test/xml/sportinfo/mlbrunsleadersxml.xml b/test/xml/sportinfo/mlbrunsleadersxml.xml
new file mode 100644 (file)
index 0000000..337f4a6
--- /dev/null
@@ -0,0 +1,410 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "mlbrunsleadersxml.dtd">\r
+<message>\r
+<XML_File_ID>1002817</XML_File_ID>\r
+<heading>AAX%AL-RUNS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>MLB</sport>\r
+<title>2001 AL Runs Leaders</title>\r
+<listing>\r
+<rank>1</rank>\r
+<name>Ichiro Suzuki, SEA</name>\r
+<runs>71</runs>\r
+<average>.349</average>\r
+<homeruns>4</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.378</onbase>\r
+<slugging>.465</slugging>\r
+</listing>\r
+<listing>\r
+<rank>2</rank>\r
+<name>Alex Rodriguez, TEX</name>\r
+<runs>70</runs>\r
+<average>.315</average>\r
+<homeruns>23</homeruns>\r
+<rbi>67</rbi>\r
+<onbase>.401</onbase>\r
+<slugging>.599</slugging>\r
+</listing>\r
+<listing>\r
+<rank>3</rank>\r
+<name>Mike Sweeney, KC</name>\r
+<runs>68</runs>\r
+<average>.335</average>\r
+<homeruns>21</homeruns>\r
+<rbi>63</rbi>\r
+<onbase>.395</onbase>\r
+<slugging>.646</slugging>\r
+</listing>\r
+<listing>\r
+<rank>4</rank>\r
+<name>Bret Boone, SEA</name>\r
+<runs>60</runs>\r
+<average>.326</average>\r
+<homeruns>21</homeruns>\r
+<rbi>80</rbi>\r
+<onbase>.362</onbase>\r
+<slugging>.589</slugging>\r
+</listing>\r
+<listing>\r
+<rank>5</rank>\r
+<name>Shannon Stewart, TOR</name>\r
+<runs>58</runs>\r
+<average>.323</average>\r
+<homeruns>6</homeruns>\r
+<rbi>35</rbi>\r
+<onbase>.385</onbase>\r
+<slugging>.481</slugging>\r
+</listing>\r
+<listing>\r
+<rank>6</rank>\r
+<name>Juan Gonzalez, CLE</name>\r
+<runs>57</runs>\r
+<average>.341</average>\r
+<homeruns>21</homeruns>\r
+<rbi>74</rbi>\r
+<onbase>.378</onbase>\r
+<slugging>.615</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Raul Mondesi, TOR</name>\r
+<runs>57</runs>\r
+<average>.283</average>\r
+<homeruns>16</homeruns>\r
+<rbi>47</rbi>\r
+<onbase>.375</onbase>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>8</rank>\r
+<name>Mike Cameron, SEA</name>\r
+<runs>56</runs>\r
+<average>.270</average>\r
+<homeruns>14</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.355</onbase>\r
+<slugging>.522</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Matt Lawton, MIN</name>\r
+<runs>56</runs>\r
+<average>.299</average>\r
+<homeruns>6</homeruns>\r
+<rbi>40</rbi>\r
+<onbase>.410</onbase>\r
+<slugging>.423</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Cristian Guzman, MIN</name>\r
+<runs>56</runs>\r
+<average>.306</average>\r
+<homeruns>7</homeruns>\r
+<rbi>31</rbi>\r
+<onbase>.344</onbase>\r
+<slugging>.500</slugging>\r
+</listing>\r
+<listing>\r
+<rank>11</rank>\r
+<name>Manny Ramirez, BOS</name>\r
+<runs>55</runs>\r
+<average>.331</average>\r
+<homeruns>25</homeruns>\r
+<rbi>82</rbi>\r
+<onbase>.429</onbase>\r
+<slugging>.649</slugging>\r
+</listing>\r
+<listing>\r
+<rank>12</rank>\r
+<name>Roberto Alomar, CLE</name>\r
+<runs>54</runs>\r
+<average>.354</average>\r
+<homeruns>8</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.426</onbase>\r
+<slugging>.536</slugging>\r
+</listing>\r
+<listing>\r
+<rank>13</rank>\r
+<name>Ellis Burks, CLE</name>\r
+<runs>53</runs>\r
+<average>.295</average>\r
+<homeruns>20</homeruns>\r
+<rbi>53</rbi>\r
+<onbase>.371</onbase>\r
+<slugging>.602</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Bernie Williams, NYY</name>\r
+<runs>53</runs>\r
+<average>.324</average>\r
+<homeruns>14</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.409</onbase>\r
+<slugging>.551</slugging>\r
+</listing>\r
+<listing>\r
+<rank>15</rank>\r
+<name>Derek Jeter, NYY</name>\r
+<runs>52</runs>\r
+<average>.288</average>\r
+<homeruns>6</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.367</onbase>\r
+<slugging>.402</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>John Olerud, SEA</name>\r
+<runs>52</runs>\r
+<average>.317</average>\r
+<homeruns>10</homeruns>\r
+<rbi>55</rbi>\r
+<onbase>.427</onbase>\r
+<slugging>.484</slugging>\r
+</listing>\r
+<listing>\r
+<rank>17</rank>\r
+<name>Miguel Tejada, OAK</name>\r
+<runs>51</runs>\r
+<average>.268</average>\r
+<homeruns>16</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.324</onbase>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank>18</rank>\r
+<name>Greg Vaughn, TB</name>\r
+<runs>50</runs>\r
+<average>.247</average>\r
+<homeruns>20</homeruns>\r
+<rbi>56</rbi>\r
+<onbase>.332</onbase>\r
+<slugging>.502</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Johnny Damon, OAK</name>\r
+<runs>50</runs>\r
+<average>.229</average>\r
+<homeruns>5</homeruns>\r
+<rbi>32</rbi>\r
+<onbase>.292</onbase>\r
+<slugging>.328</slugging>\r
+</listing>\r
+<listing>\r
+<rank>20</rank>\r
+<name>Carlos Delgado, TOR</name>\r
+<runs>49</runs>\r
+<average>.250</average>\r
+<homeruns>22</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.393</onbase>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>21</rank>\r
+<name>Paul Konerko, SOX</name>\r
+<runs>48</runs>\r
+<average>.277</average>\r
+<homeruns>16</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.353</onbase>\r
+<slugging>.507</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Magglio Ordonez, SOX</name>\r
+<runs>48</runs>\r
+<average>.304</average>\r
+<homeruns>19</homeruns>\r
+<rbi>54</rbi>\r
+<onbase>.386</onbase>\r
+<slugging>.556</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Troy Glaus, ANA</name>\r
+<runs>48</runs>\r
+<average>.250</average>\r
+<homeruns>21</homeruns>\r
+<rbi>52</rbi>\r
+<onbase>.362</onbase>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Corey Koskie, MIN</name>\r
+<runs>48</runs>\r
+<average>.262</average>\r
+<homeruns>11</homeruns>\r
+<rbi>50</rbi>\r
+<onbase>.355</onbase>\r
+<slugging>.447</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Edgar Martinez, SEA</name>\r
+<runs>48</runs>\r
+<average>.303</average>\r
+<homeruns>12</homeruns>\r
+<rbi>64</rbi>\r
+<onbase>.437</onbase>\r
+<slugging>.532</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tino Martinez, NYY</name>\r
+<runs>48</runs>\r
+<average>.260</average>\r
+<homeruns>14</homeruns>\r
+<rbi>57</rbi>\r
+<onbase>.315</onbase>\r
+<slugging>.451</slugging>\r
+</listing>\r
+<listing>\r
+<rank>27</rank>\r
+<name>Carlos Beltran, KC</name>\r
+<runs>47</runs>\r
+<average>.266</average>\r
+<homeruns>12</homeruns>\r
+<rbi>42</rbi>\r
+<onbase>.312</onbase>\r
+<slugging>.439</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jim Thome, CLE</name>\r
+<runs>47</runs>\r
+<average>.276</average>\r
+<homeruns>22</homeruns>\r
+<rbi>53</rbi>\r
+<onbase>.397</onbase>\r
+<slugging>.604</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Ray Durham, SOX</name>\r
+<runs>47</runs>\r
+<average>.247</average>\r
+<homeruns>10</homeruns>\r
+<rbi>30</rbi>\r
+<onbase>.320</onbase>\r
+<slugging>.432</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Darin Erstad, ANA</name>\r
+<runs>47</runs>\r
+<average>.283</average>\r
+<homeruns>5</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.349</onbase>\r
+<slugging>.394</slugging>\r
+</listing>\r
+<listing>\r
+<rank>31</rank>\r
+<name>Frank Menechino, OAK</name>\r
+<runs>46</runs>\r
+<average>.283</average>\r
+<homeruns>10</homeruns>\r
+<rbi>41</rbi>\r
+<onbase>.392</onbase>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Omar Vizquel, CLE</name>\r
+<runs>46</runs>\r
+<average>.262</average>\r
+<homeruns>1</homeruns>\r
+<rbi>20</rbi>\r
+<onbase>.341</onbase>\r
+<slugging>.318</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jason Giambi, OAK</name>\r
+<runs>46</runs>\r
+<average>.337</average>\r
+<homeruns>19</homeruns>\r
+<rbi>60</rbi>\r
+<onbase>.481</onbase>\r
+<slugging>.652</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Carl Everett, BOS</name>\r
+<runs>46</runs>\r
+<average>.284</average>\r
+<homeruns>9</homeruns>\r
+<rbi>42</rbi>\r
+<onbase>.344</onbase>\r
+<slugging>.472</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Trot Nixon, BOS</name>\r
+<runs>46</runs>\r
+<average>.263</average>\r
+<homeruns>12</homeruns>\r
+<rbi>39</rbi>\r
+<onbase>.377</onbase>\r
+<slugging>.475</slugging>\r
+</listing>\r
+<listing>\r
+<rank>36</rank>\r
+<name>Jose Offerman, BOS</name>\r
+<runs>44</runs>\r
+<average>.270</average>\r
+<homeruns>4</homeruns>\r
+<rbi>21</rbi>\r
+<onbase>.343</onbase>\r
+<slugging>.381</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Jermaine Dye, KC</name>\r
+<runs>44</runs>\r
+<average>.283</average>\r
+<homeruns>11</homeruns>\r
+<rbi>38</rbi>\r
+<onbase>.343</onbase>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tony Clark, DET</name>\r
+<runs>44</runs>\r
+<average>.300</average>\r
+<homeruns>12</homeruns>\r
+<rbi>46</rbi>\r
+<onbase>.379</onbase>\r
+<slugging>.518</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul O`Neill, NYY</name>\r
+<runs>44</runs>\r
+<average>.260</average>\r
+<homeruns>11</homeruns>\r
+<rbi>41</rbi>\r
+<onbase>.325</onbase>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank>40</rank>\r
+<name>Rafael Palmeiro, TEX</name>\r
+<runs>43</runs>\r
+<average>.262</average>\r
+<homeruns>21</homeruns>\r
+<rbi>60</rbi>\r
+<onbase>.371</onbase>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<time_stamp> July 3, 2001, at 12:37 PM ET </time_stamp>\r
+</message>\r