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

index 2bf8138167bafcfb72d7887b2a91a8ff06d82543..cce26ce9d3515959804bb20d3f4f409b9bcc70b9 100644 (file)
@@ -220,6 +220,8 @@ mlbstandxml.dtd
 mlbstandxml_preseason.dtd
 .IP \[bu]
 mlbstolenbasexml.dtd
+.IP \[bu]
+mlbtotalbasesleadersxml.dtd
 .RE
 .P
 The GameInfo and SportInfo types do not have their own top-level
diff --git a/schema/mlbtotalbasesleadersxml.dtd b/schema/mlbtotalbasesleadersxml.dtd
new file mode 100644 (file)
index 0000000..5c3eaeb
--- /dev/null
@@ -0,0 +1,38 @@
+<!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 , tb , average , atbats , hits , doubles , triples , homeruns , rbi , slugging )>\r
+\r
+<!ELEMENT rank  (#PCDATA )>\r
+\r
+<!ELEMENT name  (#PCDATA )>\r
+\r
+<!ELEMENT tb  (#PCDATA )>\r
+\r
+<!ELEMENT average  (#PCDATA )>\r
+\r
+<!ELEMENT atbats  (#PCDATA )>\r
+\r
+<!ELEMENT hits  (#PCDATA )>\r
+\r
+<!ELEMENT doubles  (#PCDATA )>\r
+\r
+<!ELEMENT triples  (#PCDATA )>\r
+\r
+<!ELEMENT homeruns  (#PCDATA )>\r
+\r
+<!ELEMENT rbi  (#PCDATA )>\r
+\r
+<!ELEMENT slugging  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/schemagen/mlbtotalbasesleadersxml/mlbtotalbasesleadersxml.xml b/schemagen/mlbtotalbasesleadersxml/mlbtotalbasesleadersxml.xml
new file mode 100644 (file)
index 0000000..2d3be9d
--- /dev/null
@@ -0,0 +1,530 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "mlbtotalbasesleadersxml.dtd">\r
+<message>\r
+<XML_File_ID>2121017</XML_File_ID>\r
+<heading>AAX%AL-TOTALBASES-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>MLB</sport>\r
+<title>2001 AL Total Bases Leaders</title>\r
+<listing>\r
+<rank>1</rank>\r
+<name>Mike Sweeney, KC</name>\r
+<tb>204</tb>\r
+<average>.335</average>\r
+<atbats>316</atbats>\r
+<hits>106</hits>\r
+<doubles>35</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>63</rbi>\r
+<slugging>.646</slugging>\r
+</listing>\r
+<listing>\r
+<rank>2</rank>\r
+<name>Manny Ramirez, BOS</name>\r
+<tb>198</tb>\r
+<average>.331</average>\r
+<atbats>305</atbats>\r
+<hits>101</hits>\r
+<doubles>18</doubles>\r
+<triples>2</triples>\r
+<homeruns>25</homeruns>\r
+<rbi>82</rbi>\r
+<slugging>.649</slugging>\r
+</listing>\r
+<listing>\r
+<rank>3</rank>\r
+<name>Alex Rodriguez, TEX</name>\r
+<tb>190</tb>\r
+<average>.315</average>\r
+<atbats>317</atbats>\r
+<hits>100</hits>\r
+<doubles>19</doubles>\r
+<triples>1</triples>\r
+<homeruns>23</homeruns>\r
+<rbi>67</rbi>\r
+<slugging>.599</slugging>\r
+</listing>\r
+<listing>\r
+<rank>4</rank>\r
+<name>Bret Boone, SEA</name>\r
+<tb>186</tb>\r
+<average>.326</average>\r
+<atbats>316</atbats>\r
+<hits>103</hits>\r
+<doubles>16</doubles>\r
+<triples>2</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>80</rbi>\r
+<slugging>.589</slugging>\r
+</listing>\r
+<listing>\r
+<rank>5</rank>\r
+<name>Juan Gonzalez, CLE</name>\r
+<tb>182</tb>\r
+<average>.341</average>\r
+<atbats>296</atbats>\r
+<hits>101</hits>\r
+<doubles>18</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>74</rbi>\r
+<slugging>.615</slugging>\r
+</listing>\r
+<listing>\r
+<rank>6</rank>\r
+<name>Jason Giambi, OAK</name>\r
+<tb>174</tb>\r
+<average>.337</average>\r
+<atbats>267</atbats>\r
+<hits>90</hits>\r
+<doubles>25</doubles>\r
+<triples>1</triples>\r
+<homeruns>19</homeruns>\r
+<rbi>60</rbi>\r
+<slugging>.652</slugging>\r
+</listing>\r
+<listing>\r
+<rank>7</rank>\r
+<name>Ichiro Suzuki, SEA</name>\r
+<tb>168</tb>\r
+<average>.349</average>\r
+<atbats>361</atbats>\r
+<hits>126</hits>\r
+<doubles>18</doubles>\r
+<triples>6</triples>\r
+<homeruns>4</homeruns>\r
+<rbi>38</rbi>\r
+<slugging>.465</slugging>\r
+</listing>\r
+<listing>\r
+<rank>8</rank>\r
+<name>Raul Mondesi, TOR</name>\r
+<tb>163</tb>\r
+<average>.283</average>\r
+<atbats>315</atbats>\r
+<hits>89</hits>\r
+<doubles>20</doubles>\r
+<triples>3</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>47</rbi>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>9</rank>\r
+<name>Shannon Stewart, TOR</name>\r
+<tb>162</tb>\r
+<average>.323</average>\r
+<atbats>337</atbats>\r
+<hits>109</hits>\r
+<doubles>23</doubles>\r
+<triples>6</triples>\r
+<homeruns>6</homeruns>\r
+<rbi>35</rbi>\r
+<slugging>.481</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Cristian Guzman, MIN</name>\r
+<tb>162</tb>\r
+<average>.306</average>\r
+<atbats>324</atbats>\r
+<hits>99</hits>\r
+<doubles>18</doubles>\r
+<triples>12</triples>\r
+<homeruns>7</homeruns>\r
+<rbi>31</rbi>\r
+<slugging>.500</slugging>\r
+</listing>\r
+<listing>\r
+<rank>11</rank>\r
+<name>Rafael Palmeiro, TEX</name>\r
+<tb>159</tb>\r
+<average>.262</average>\r
+<atbats>298</atbats>\r
+<hits>78</hits>\r
+<doubles>18</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>60</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Magglio Ordonez, SOX</name>\r
+<tb>159</tb>\r
+<average>.304</average>\r
+<atbats>286</atbats>\r
+<hits>87</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>19</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.556</slugging>\r
+</listing>\r
+<listing>\r
+<rank>13</rank>\r
+<name>Troy Glaus, ANA</name>\r
+<tb>158</tb>\r
+<average>.250</average>\r
+<atbats>296</atbats>\r
+<hits>74</hits>\r
+<doubles>21</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>52</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank>14</rank>\r
+<name>Ellis Burks, CLE</name>\r
+<tb>157</tb>\r
+<average>.295</average>\r
+<atbats>261</atbats>\r
+<hits>77</hits>\r
+<doubles>18</doubles>\r
+<triples>1</triples>\r
+<homeruns>20</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.602</slugging>\r
+</listing>\r
+<listing>\r
+<rank>15</rank>\r
+<name>Roberto Alomar, CLE</name>\r
+<tb>156</tb>\r
+<average>.354</average>\r
+<atbats>291</atbats>\r
+<hits>103</hits>\r
+<doubles>17</doubles>\r
+<triples>6</triples>\r
+<homeruns>8</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.536</slugging>\r
+</listing>\r
+<listing>\r
+<rank>16</rank>\r
+<name>Jim Thome, CLE</name>\r
+<tb>151</tb>\r
+<average>.276</average>\r
+<atbats>250</atbats>\r
+<hits>69</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>22</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.604</slugging>\r
+</listing>\r
+<listing>\r
+<rank>17</rank>\r
+<name>Miguel Tejada, OAK</name>\r
+<tb>150</tb>\r
+<average>.268</average>\r
+<atbats>317</atbats>\r
+<hits>85</hits>\r
+<doubles>17</doubles>\r
+<triples>0</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank>18</rank>\r
+<name>Carlos Delgado, TOR</name>\r
+<tb>149</tb>\r
+<average>.250</average>\r
+<atbats>288</atbats>\r
+<hits>72</hits>\r
+<doubles>11</doubles>\r
+<triples>0</triples>\r
+<homeruns>22</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>19</rank>\r
+<name>Greg Vaughn, TB</name>\r
+<tb>148</tb>\r
+<average>.247</average>\r
+<atbats>295</atbats>\r
+<hits>73</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>20</homeruns>\r
+<rbi>56</rbi>\r
+<slugging>.502</slugging>\r
+</listing>\r
+<listing>\r
+<rank>20</rank>\r
+<name>Fred McGriff, TB</name>\r
+<tb>147</tb>\r
+<average>.332</average>\r
+<atbats>271</atbats>\r
+<hits>90</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>47</rbi>\r
+<slugging>.542</slugging>\r
+</listing>\r
+<listing>\r
+<rank>21</rank>\r
+<name>Doug Mientkiewicz, MIN</name>\r
+<tb>144</tb>\r
+<average>.312</average>\r
+<atbats>285</atbats>\r
+<hits>89</hits>\r
+<doubles>20</doubles>\r
+<triples>1</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.505</slugging>\r
+</listing>\r
+<listing>\r
+<rank>22</rank>\r
+<name>Edgar Martinez, SEA</name>\r
+<tb>142</tb>\r
+<average>.303</average>\r
+<atbats>267</atbats>\r
+<hits>81</hits>\r
+<doubles>25</doubles>\r
+<triples>0</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>64</rbi>\r
+<slugging>.532</slugging>\r
+</listing>\r
+<listing>\r
+<rank>23</rank>\r
+<name>Ivan Rodriguez, TEX</name>\r
+<tb>141</tb>\r
+<average>.292</average>\r
+<atbats>264</atbats>\r
+<hits>77</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>41</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Mike Cameron, SEA</name>\r
+<tb>141</tb>\r
+<average>.270</average>\r
+<atbats>270</atbats>\r
+<hits>73</hits>\r
+<doubles>18</doubles>\r
+<triples>4</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.522</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Carlos Lee, SOX</name>\r
+<tb>141</tb>\r
+<average>.302</average>\r
+<atbats>268</atbats>\r
+<hits>81</hits>\r
+<doubles>17</doubles>\r
+<triples>2</triples>\r
+<homeruns>13</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.526</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Garret Anderson, ANA</name>\r
+<tb>141</tb>\r
+<average>.273</average>\r
+<atbats>337</atbats>\r
+<hits>92</hits>\r
+<doubles>11</doubles>\r
+<triples>1</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.418</slugging>\r
+</listing>\r
+<listing>\r
+<rank>27</rank>\r
+<name>John Olerud, SEA</name>\r
+<tb>139</tb>\r
+<average>.317</average>\r
+<atbats>287</atbats>\r
+<hits>91</hits>\r
+<doubles>16</doubles>\r
+<triples>1</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>55</rbi>\r
+<slugging>.484</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul Konerko, SOX</name>\r
+<tb>139</tb>\r
+<average>.277</average>\r
+<atbats>274</atbats>\r
+<hits>76</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.507</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tino Martinez, NYY</name>\r
+<tb>139</tb>\r
+<average>.260</average>\r
+<atbats>308</atbats>\r
+<hits>80</hits>\r
+<doubles>15</doubles>\r
+<triples>1</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>57</rbi>\r
+<slugging>.451</slugging>\r
+</listing>\r
+<listing>\r
+<rank>30</rank>\r
+<name>Carlos Beltran, KC</name>\r
+<tb>137</tb>\r
+<average>.266</average>\r
+<atbats>312</atbats>\r
+<hits>83</hits>\r
+<doubles>10</doubles>\r
+<triples>4</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>42</rbi>\r
+<slugging>.439</slugging>\r
+</listing>\r
+<listing>\r
+<rank>31</rank>\r
+<name>Bernie Williams, NYY</name>\r
+<tb>136</tb>\r
+<average>.324</average>\r
+<atbats>247</atbats>\r
+<hits>80</hits>\r
+<doubles>14</doubles>\r
+<triples>0</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.551</slugging>\r
+</listing>\r
+<listing>\r
+<rank>32</rank>\r
+<name>Carl Everett, BOS</name>\r
+<tb>133</tb>\r
+<average>.284</average>\r
+<atbats>282</atbats>\r
+<hits>80</hits>\r
+<doubles>18</doubles>\r
+<triples>4</triples>\r
+<homeruns>9</homeruns>\r
+<rbi>42</rbi>\r
+<slugging>.472</slugging>\r
+</listing>\r
+<listing>\r
+<rank>33</rank>\r
+<name>Terrence Long, OAK</name>\r
+<tb>132</tb>\r
+<average>.274</average>\r
+<atbats>317</atbats>\r
+<hits>87</hits>\r
+<doubles>16</doubles>\r
+<triples>1</triples>\r
+<homeruns>9</homeruns>\r
+<rbi>43</rbi>\r
+<slugging>.416</slugging>\r
+</listing>\r
+<listing>\r
+<rank>34</rank>\r
+<name>Jorge Posada, NYY</name>\r
+<tb>131</tb>\r
+<average>.310</average>\r
+<atbats>245</atbats>\r
+<hits>76</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>13</homeruns>\r
+<rbi>61</rbi>\r
+<slugging>.535</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Scott Brosius, NYY</name>\r
+<tb>131</tb>\r
+<average>.290</average>\r
+<atbats>279</atbats>\r
+<hits>81</hits>\r
+<doubles>16</doubles>\r
+<triples>2</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>29</rbi>\r
+<slugging>.470</slugging>\r
+</listing>\r
+<listing>\r
+<rank>36</rank>\r
+<name>Jermaine Dye, KC</name>\r
+<tb>130</tb>\r
+<average>.283</average>\r
+<atbats>300</atbats>\r
+<hits>85</hits>\r
+<doubles>12</doubles>\r
+<triples>0</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>38</rbi>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul O`Neill, NYY</name>\r
+<tb>130</tb>\r
+<average>.260</average>\r
+<atbats>300</atbats>\r
+<hits>78</hits>\r
+<doubles>17</doubles>\r
+<triples>1</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>41</rbi>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank>38</rank>\r
+<name>Ray Durham, SOX</name>\r
+<tb>128</tb>\r
+<average>.247</average>\r
+<atbats>296</atbats>\r
+<hits>73</hits>\r
+<doubles>21</doubles>\r
+<triples>2</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>30</rbi>\r
+<slugging>.432</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Eric Chavez, OAK</name>\r
+<tb>128</tb>\r
+<average>.247</average>\r
+<atbats>287</atbats>\r
+<hits>71</hits>\r
+<doubles>24</doubles>\r
+<triples>0</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>43</rbi>\r
+<slugging>.446</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tony Clark, DET</name>\r
+<tb>128</tb>\r
+<average>.300</average>\r
+<atbats>247</atbats>\r
+<hits>74</hits>\r
+<doubles>14</doubles>\r
+<triples>2</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.518</slugging>\r
+</listing>\r
+<time_stamp> July 3, 2001, at 12:37 PM ET </time_stamp>\r
+</message>\r
index 2350ea5f0e238793cc938a9c774aae15d792568f..3e5a84f15523d985e5e16aa1323fb0b1a7a6ae18 100644 (file)
@@ -127,7 +127,7 @@ dtds =
     "mlbstandxml.dtd",
     "mlbstandxml_preseason.dtd",
     "mlbstolenbasexml.dtd",
-    "mlbtotalbasesleadersxml.dtd", -- no dtd
+    "mlbtotalbasesleadersxml.dtd",
     "mlbtriplesleadersxml.dtd", -- no dtd
     "MLBWalkRateXML.dtd", -- no dtd
     "mlbwalksleadersxml.dtd", -- no dtd
@@ -371,7 +371,8 @@ sport_info_test_files =
     "mlbsluggingpctxml.xml",
     "mlbstandxml.xml",
     "mlbstandxml_preseason.xml",
-    "mlbstolenbasexml.xml"
+    "mlbstolenbasexml.xml",
+    "mlbtotalbasesleadersxml.xml"
   ]
 
 
diff --git a/test/xml/sportinfo/mlbtotalbasesleadersxml.dtd b/test/xml/sportinfo/mlbtotalbasesleadersxml.dtd
new file mode 100644 (file)
index 0000000..5c3eaeb
--- /dev/null
@@ -0,0 +1,38 @@
+<!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 , tb , average , atbats , hits , doubles , triples , homeruns , rbi , slugging )>\r
+\r
+<!ELEMENT rank  (#PCDATA )>\r
+\r
+<!ELEMENT name  (#PCDATA )>\r
+\r
+<!ELEMENT tb  (#PCDATA )>\r
+\r
+<!ELEMENT average  (#PCDATA )>\r
+\r
+<!ELEMENT atbats  (#PCDATA )>\r
+\r
+<!ELEMENT hits  (#PCDATA )>\r
+\r
+<!ELEMENT doubles  (#PCDATA )>\r
+\r
+<!ELEMENT triples  (#PCDATA )>\r
+\r
+<!ELEMENT homeruns  (#PCDATA )>\r
+\r
+<!ELEMENT rbi  (#PCDATA )>\r
+\r
+<!ELEMENT slugging  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/test/xml/sportinfo/mlbtotalbasesleadersxml.xml b/test/xml/sportinfo/mlbtotalbasesleadersxml.xml
new file mode 100644 (file)
index 0000000..2d3be9d
--- /dev/null
@@ -0,0 +1,530 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "mlbtotalbasesleadersxml.dtd">\r
+<message>\r
+<XML_File_ID>2121017</XML_File_ID>\r
+<heading>AAX%AL-TOTALBASES-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>MLB</sport>\r
+<title>2001 AL Total Bases Leaders</title>\r
+<listing>\r
+<rank>1</rank>\r
+<name>Mike Sweeney, KC</name>\r
+<tb>204</tb>\r
+<average>.335</average>\r
+<atbats>316</atbats>\r
+<hits>106</hits>\r
+<doubles>35</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>63</rbi>\r
+<slugging>.646</slugging>\r
+</listing>\r
+<listing>\r
+<rank>2</rank>\r
+<name>Manny Ramirez, BOS</name>\r
+<tb>198</tb>\r
+<average>.331</average>\r
+<atbats>305</atbats>\r
+<hits>101</hits>\r
+<doubles>18</doubles>\r
+<triples>2</triples>\r
+<homeruns>25</homeruns>\r
+<rbi>82</rbi>\r
+<slugging>.649</slugging>\r
+</listing>\r
+<listing>\r
+<rank>3</rank>\r
+<name>Alex Rodriguez, TEX</name>\r
+<tb>190</tb>\r
+<average>.315</average>\r
+<atbats>317</atbats>\r
+<hits>100</hits>\r
+<doubles>19</doubles>\r
+<triples>1</triples>\r
+<homeruns>23</homeruns>\r
+<rbi>67</rbi>\r
+<slugging>.599</slugging>\r
+</listing>\r
+<listing>\r
+<rank>4</rank>\r
+<name>Bret Boone, SEA</name>\r
+<tb>186</tb>\r
+<average>.326</average>\r
+<atbats>316</atbats>\r
+<hits>103</hits>\r
+<doubles>16</doubles>\r
+<triples>2</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>80</rbi>\r
+<slugging>.589</slugging>\r
+</listing>\r
+<listing>\r
+<rank>5</rank>\r
+<name>Juan Gonzalez, CLE</name>\r
+<tb>182</tb>\r
+<average>.341</average>\r
+<atbats>296</atbats>\r
+<hits>101</hits>\r
+<doubles>18</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>74</rbi>\r
+<slugging>.615</slugging>\r
+</listing>\r
+<listing>\r
+<rank>6</rank>\r
+<name>Jason Giambi, OAK</name>\r
+<tb>174</tb>\r
+<average>.337</average>\r
+<atbats>267</atbats>\r
+<hits>90</hits>\r
+<doubles>25</doubles>\r
+<triples>1</triples>\r
+<homeruns>19</homeruns>\r
+<rbi>60</rbi>\r
+<slugging>.652</slugging>\r
+</listing>\r
+<listing>\r
+<rank>7</rank>\r
+<name>Ichiro Suzuki, SEA</name>\r
+<tb>168</tb>\r
+<average>.349</average>\r
+<atbats>361</atbats>\r
+<hits>126</hits>\r
+<doubles>18</doubles>\r
+<triples>6</triples>\r
+<homeruns>4</homeruns>\r
+<rbi>38</rbi>\r
+<slugging>.465</slugging>\r
+</listing>\r
+<listing>\r
+<rank>8</rank>\r
+<name>Raul Mondesi, TOR</name>\r
+<tb>163</tb>\r
+<average>.283</average>\r
+<atbats>315</atbats>\r
+<hits>89</hits>\r
+<doubles>20</doubles>\r
+<triples>3</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>47</rbi>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>9</rank>\r
+<name>Shannon Stewart, TOR</name>\r
+<tb>162</tb>\r
+<average>.323</average>\r
+<atbats>337</atbats>\r
+<hits>109</hits>\r
+<doubles>23</doubles>\r
+<triples>6</triples>\r
+<homeruns>6</homeruns>\r
+<rbi>35</rbi>\r
+<slugging>.481</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Cristian Guzman, MIN</name>\r
+<tb>162</tb>\r
+<average>.306</average>\r
+<atbats>324</atbats>\r
+<hits>99</hits>\r
+<doubles>18</doubles>\r
+<triples>12</triples>\r
+<homeruns>7</homeruns>\r
+<rbi>31</rbi>\r
+<slugging>.500</slugging>\r
+</listing>\r
+<listing>\r
+<rank>11</rank>\r
+<name>Rafael Palmeiro, TEX</name>\r
+<tb>159</tb>\r
+<average>.262</average>\r
+<atbats>298</atbats>\r
+<hits>78</hits>\r
+<doubles>18</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>60</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Magglio Ordonez, SOX</name>\r
+<tb>159</tb>\r
+<average>.304</average>\r
+<atbats>286</atbats>\r
+<hits>87</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>19</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.556</slugging>\r
+</listing>\r
+<listing>\r
+<rank>13</rank>\r
+<name>Troy Glaus, ANA</name>\r
+<tb>158</tb>\r
+<average>.250</average>\r
+<atbats>296</atbats>\r
+<hits>74</hits>\r
+<doubles>21</doubles>\r
+<triples>0</triples>\r
+<homeruns>21</homeruns>\r
+<rbi>52</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank>14</rank>\r
+<name>Ellis Burks, CLE</name>\r
+<tb>157</tb>\r
+<average>.295</average>\r
+<atbats>261</atbats>\r
+<hits>77</hits>\r
+<doubles>18</doubles>\r
+<triples>1</triples>\r
+<homeruns>20</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.602</slugging>\r
+</listing>\r
+<listing>\r
+<rank>15</rank>\r
+<name>Roberto Alomar, CLE</name>\r
+<tb>156</tb>\r
+<average>.354</average>\r
+<atbats>291</atbats>\r
+<hits>103</hits>\r
+<doubles>17</doubles>\r
+<triples>6</triples>\r
+<homeruns>8</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.536</slugging>\r
+</listing>\r
+<listing>\r
+<rank>16</rank>\r
+<name>Jim Thome, CLE</name>\r
+<tb>151</tb>\r
+<average>.276</average>\r
+<atbats>250</atbats>\r
+<hits>69</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>22</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.604</slugging>\r
+</listing>\r
+<listing>\r
+<rank>17</rank>\r
+<name>Miguel Tejada, OAK</name>\r
+<tb>150</tb>\r
+<average>.268</average>\r
+<atbats>317</atbats>\r
+<hits>85</hits>\r
+<doubles>17</doubles>\r
+<triples>0</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.473</slugging>\r
+</listing>\r
+<listing>\r
+<rank>18</rank>\r
+<name>Carlos Delgado, TOR</name>\r
+<tb>149</tb>\r
+<average>.250</average>\r
+<atbats>288</atbats>\r
+<hits>72</hits>\r
+<doubles>11</doubles>\r
+<triples>0</triples>\r
+<homeruns>22</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.517</slugging>\r
+</listing>\r
+<listing>\r
+<rank>19</rank>\r
+<name>Greg Vaughn, TB</name>\r
+<tb>148</tb>\r
+<average>.247</average>\r
+<atbats>295</atbats>\r
+<hits>73</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>20</homeruns>\r
+<rbi>56</rbi>\r
+<slugging>.502</slugging>\r
+</listing>\r
+<listing>\r
+<rank>20</rank>\r
+<name>Fred McGriff, TB</name>\r
+<tb>147</tb>\r
+<average>.332</average>\r
+<atbats>271</atbats>\r
+<hits>90</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>47</rbi>\r
+<slugging>.542</slugging>\r
+</listing>\r
+<listing>\r
+<rank>21</rank>\r
+<name>Doug Mientkiewicz, MIN</name>\r
+<tb>144</tb>\r
+<average>.312</average>\r
+<atbats>285</atbats>\r
+<hits>89</hits>\r
+<doubles>20</doubles>\r
+<triples>1</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>50</rbi>\r
+<slugging>.505</slugging>\r
+</listing>\r
+<listing>\r
+<rank>22</rank>\r
+<name>Edgar Martinez, SEA</name>\r
+<tb>142</tb>\r
+<average>.303</average>\r
+<atbats>267</atbats>\r
+<hits>81</hits>\r
+<doubles>25</doubles>\r
+<triples>0</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>64</rbi>\r
+<slugging>.532</slugging>\r
+</listing>\r
+<listing>\r
+<rank>23</rank>\r
+<name>Ivan Rodriguez, TEX</name>\r
+<tb>141</tb>\r
+<average>.292</average>\r
+<atbats>264</atbats>\r
+<hits>77</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>41</rbi>\r
+<slugging>.534</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Mike Cameron, SEA</name>\r
+<tb>141</tb>\r
+<average>.270</average>\r
+<atbats>270</atbats>\r
+<hits>73</hits>\r
+<doubles>18</doubles>\r
+<triples>4</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>54</rbi>\r
+<slugging>.522</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Carlos Lee, SOX</name>\r
+<tb>141</tb>\r
+<average>.302</average>\r
+<atbats>268</atbats>\r
+<hits>81</hits>\r
+<doubles>17</doubles>\r
+<triples>2</triples>\r
+<homeruns>13</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.526</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Garret Anderson, ANA</name>\r
+<tb>141</tb>\r
+<average>.273</average>\r
+<atbats>337</atbats>\r
+<hits>92</hits>\r
+<doubles>11</doubles>\r
+<triples>1</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>53</rbi>\r
+<slugging>.418</slugging>\r
+</listing>\r
+<listing>\r
+<rank>27</rank>\r
+<name>John Olerud, SEA</name>\r
+<tb>139</tb>\r
+<average>.317</average>\r
+<atbats>287</atbats>\r
+<hits>91</hits>\r
+<doubles>16</doubles>\r
+<triples>1</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>55</rbi>\r
+<slugging>.484</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul Konerko, SOX</name>\r
+<tb>139</tb>\r
+<average>.277</average>\r
+<atbats>274</atbats>\r
+<hits>76</hits>\r
+<doubles>15</doubles>\r
+<triples>0</triples>\r
+<homeruns>16</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.507</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tino Martinez, NYY</name>\r
+<tb>139</tb>\r
+<average>.260</average>\r
+<atbats>308</atbats>\r
+<hits>80</hits>\r
+<doubles>15</doubles>\r
+<triples>1</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>57</rbi>\r
+<slugging>.451</slugging>\r
+</listing>\r
+<listing>\r
+<rank>30</rank>\r
+<name>Carlos Beltran, KC</name>\r
+<tb>137</tb>\r
+<average>.266</average>\r
+<atbats>312</atbats>\r
+<hits>83</hits>\r
+<doubles>10</doubles>\r
+<triples>4</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>42</rbi>\r
+<slugging>.439</slugging>\r
+</listing>\r
+<listing>\r
+<rank>31</rank>\r
+<name>Bernie Williams, NYY</name>\r
+<tb>136</tb>\r
+<average>.324</average>\r
+<atbats>247</atbats>\r
+<hits>80</hits>\r
+<doubles>14</doubles>\r
+<triples>0</triples>\r
+<homeruns>14</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.551</slugging>\r
+</listing>\r
+<listing>\r
+<rank>32</rank>\r
+<name>Carl Everett, BOS</name>\r
+<tb>133</tb>\r
+<average>.284</average>\r
+<atbats>282</atbats>\r
+<hits>80</hits>\r
+<doubles>18</doubles>\r
+<triples>4</triples>\r
+<homeruns>9</homeruns>\r
+<rbi>42</rbi>\r
+<slugging>.472</slugging>\r
+</listing>\r
+<listing>\r
+<rank>33</rank>\r
+<name>Terrence Long, OAK</name>\r
+<tb>132</tb>\r
+<average>.274</average>\r
+<atbats>317</atbats>\r
+<hits>87</hits>\r
+<doubles>16</doubles>\r
+<triples>1</triples>\r
+<homeruns>9</homeruns>\r
+<rbi>43</rbi>\r
+<slugging>.416</slugging>\r
+</listing>\r
+<listing>\r
+<rank>34</rank>\r
+<name>Jorge Posada, NYY</name>\r
+<tb>131</tb>\r
+<average>.310</average>\r
+<atbats>245</atbats>\r
+<hits>76</hits>\r
+<doubles>14</doubles>\r
+<triples>1</triples>\r
+<homeruns>13</homeruns>\r
+<rbi>61</rbi>\r
+<slugging>.535</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Scott Brosius, NYY</name>\r
+<tb>131</tb>\r
+<average>.290</average>\r
+<atbats>279</atbats>\r
+<hits>81</hits>\r
+<doubles>16</doubles>\r
+<triples>2</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>29</rbi>\r
+<slugging>.470</slugging>\r
+</listing>\r
+<listing>\r
+<rank>36</rank>\r
+<name>Jermaine Dye, KC</name>\r
+<tb>130</tb>\r
+<average>.283</average>\r
+<atbats>300</atbats>\r
+<hits>85</hits>\r
+<doubles>12</doubles>\r
+<triples>0</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>38</rbi>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Paul O`Neill, NYY</name>\r
+<tb>130</tb>\r
+<average>.260</average>\r
+<atbats>300</atbats>\r
+<hits>78</hits>\r
+<doubles>17</doubles>\r
+<triples>1</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>41</rbi>\r
+<slugging>.433</slugging>\r
+</listing>\r
+<listing>\r
+<rank>38</rank>\r
+<name>Ray Durham, SOX</name>\r
+<tb>128</tb>\r
+<average>.247</average>\r
+<atbats>296</atbats>\r
+<hits>73</hits>\r
+<doubles>21</doubles>\r
+<triples>2</triples>\r
+<homeruns>10</homeruns>\r
+<rbi>30</rbi>\r
+<slugging>.432</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Eric Chavez, OAK</name>\r
+<tb>128</tb>\r
+<average>.247</average>\r
+<atbats>287</atbats>\r
+<hits>71</hits>\r
+<doubles>24</doubles>\r
+<triples>0</triples>\r
+<homeruns>11</homeruns>\r
+<rbi>43</rbi>\r
+<slugging>.446</slugging>\r
+</listing>\r
+<listing>\r
+<rank></rank>\r
+<name>Tony Clark, DET</name>\r
+<tb>128</tb>\r
+<average>.300</average>\r
+<atbats>247</atbats>\r
+<hits>74</hits>\r
+<doubles>14</doubles>\r
+<triples>2</triples>\r
+<homeruns>12</homeruns>\r
+<rbi>46</rbi>\r
+<slugging>.518</slugging>\r
+</listing>\r
+<time_stamp> July 3, 2001, at 12:37 PM ET </time_stamp>\r
+</message>\r