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

index 44e81286c710a11aa116237a6c8ae0e11e2f0baf..4ef7f4620ae15bb4acfc1380f0f4b0330cc99be2 100644 (file)
@@ -360,6 +360,8 @@ WNBAFoulsXML.dtd
 WNBAFTPctXML.dtd
 .IP \[bu]
 WNBAMinutesXML.dtd
+.IP \[bu]
+WNBAReboundsXML.dtd
 .RE
 .P
 The GameInfo and SportInfo types do not have their own top-level
diff --git a/schema/WNBAReboundsXML.dtd b/schema/WNBAReboundsXML.dtd
new file mode 100644 (file)
index 0000000..684a1a8
--- /dev/null
@@ -0,0 +1 @@
+<!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 , GP , MPG , Total_Rebounds , Avg_Rebounds , Offensive_Rebounds , AVG_Offensive_Rebounds , Defensive_Rebounds , AVG_Defensive_Rebounds )>\r\r<!ELEMENT Rank  (#PCDATA )>\r\r<!ELEMENT Name  (#PCDATA )>\r\r<!ELEMENT GP  (#PCDATA )>\r\r<!ELEMENT MPG  (#PCDATA )>\r\r<!ELEMENT Total_Rebounds  (#PCDATA )>\r\r<!ELEMENT Avg_Rebounds  (#PCDATA )>\r\r<!ELEMENT Offensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT AVG_Offensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT Defensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT AVG_Defensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT time_stamp  (#PCDATA )>\r\r\r
\ No newline at end of file
diff --git a/schemagen/WNBAReboundsXML/WNBAReboundsXML.xml b/schemagen/WNBAReboundsXML/WNBAReboundsXML.xml
new file mode 100644 (file)
index 0000000..dc2fe32
--- /dev/null
@@ -0,0 +1,346 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "WNBAReboundsXML.dtd">\r
+<message>\r
+<XML_File_ID>8297117</XML_File_ID>\r
+<heading>ACX%REBOUNDS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>NBA</sport>\r
+<Title>2001-2002 NBA Top 25 Rebounding Leaders</Title>\r
+<Listing>\r
+<Rank>1</Rank>\r
+<Name>D.Fortson,GS</Name>\r
+<GP>40</GP>\r
+<MPG>30:24</MPG>\r
+<Total_Rebounds>507</Total_Rebounds>\r
+<Avg_Rebounds>12.7</Avg_Rebounds>\r
+<Offensive_Rebounds>172</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>4.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>335</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>2</Rank>\r
+<Name>T.Duncan,SAN</Name>\r
+<GP>39</GP>\r
+<MPG>41:23</MPG>\r
+<Total_Rebounds>505</Total_Rebounds>\r
+<Avg_Rebounds>12.9</Avg_Rebounds>\r
+<Offensive_Rebounds>137</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>368</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>9.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>3</Rank>\r
+<Name>K.Garnett,MIN</Name>\r
+<GP>40</GP>\r
+<MPG>39:13</MPG>\r
+<Total_Rebounds>484</Total_Rebounds>\r
+<Avg_Rebounds>12.1</Avg_Rebounds>\r
+<Offensive_Rebounds>123</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.1</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>361</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>9.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>4</Rank>\r
+<Name>D.Mutombo,PHI</Name>\r
+<GP>41</GP>\r
+<MPG>36:13</MPG>\r
+<Total_Rebounds>472</Total_Rebounds>\r
+<Avg_Rebounds>11.5</Avg_Rebounds>\r
+<Offensive_Rebounds>137</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>335</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>E.Brand,LAC</Name>\r
+<GP>42</GP>\r
+<MPG>36:21</MPG>\r
+<Total_Rebounds>472</Total_Rebounds>\r
+<Avg_Rebounds>11.2</Avg_Rebounds>\r
+<Offensive_Rebounds>182</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>4.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>290</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>5</Rank>\r
+<Name>B.Wallace,DET</Name>\r
+<GP>39</GP>\r
+<MPG>34:13</MPG>\r
+<Total_Rebounds>454</Total_Rebounds>\r
+<Avg_Rebounds>11.6</Avg_Rebounds>\r
+<Offensive_Rebounds>139</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>315</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.1</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>6</Rank>\r
+<Name>S.Marion,PHO</Name>\r
+<GP>41</GP>\r
+<MPG>36:42</MPG>\r
+<Total_Rebounds>388</Total_Rebounds>\r
+<Avg_Rebounds>9.5</Avg_Rebounds>\r
+<Offensive_Rebounds>112</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>276</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.7</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>7</Rank>\r
+<Name>A.Walker,BOS</Name>\r
+<GP>40</GP>\r
+<MPG>42:36</MPG>\r
+<Total_Rebounds>387</Total_Rebounds>\r
+<Avg_Rebounds>9.7</Avg_Rebounds>\r
+<Offensive_Rebounds>93</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>294</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>8</Rank>\r
+<Name>J.O`Neal,IND</Name>\r
+<GP>36</GP>\r
+<MPG>36:05</MPG>\r
+<Total_Rebounds>384</Total_Rebounds>\r
+<Avg_Rebounds>10.7</Avg_Rebounds>\r
+<Offensive_Rebounds>98</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>286</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>9</Rank>\r
+<Name>S.Abdur-Rahim,ATL</Name>\r
+<GP>39</GP>\r
+<MPG>37:26</MPG>\r
+<Total_Rebounds>382</Total_Rebounds>\r
+<Avg_Rebounds>9.8</Avg_Rebounds>\r
+<Offensive_Rebounds>111</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.8</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>271</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>10</Rank>\r
+<Name>P.Brown,CHA</Name>\r
+<GP>39</GP>\r
+<MPG>31:30</MPG>\r
+<Total_Rebounds>379</Total_Rebounds>\r
+<Avg_Rebounds>9.7</Avg_Rebounds>\r
+<Offensive_Rebounds>126</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>253</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.5</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Nowitzki,DAL</Name>\r
+<GP>40</GP>\r
+<MPG>37:49</MPG>\r
+<Total_Rebounds>379</Total_Rebounds>\r
+<Avg_Rebounds>9.5</Avg_Rebounds>\r
+<Offensive_Rebounds>65</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>314</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>11</Rank>\r
+<Name>K.Malone,UTA</Name>\r
+<GP>41</GP>\r
+<MPG>38:43</MPG>\r
+<Total_Rebounds>358</Total_Rebounds>\r
+<Avg_Rebounds>8.7</Avg_Rebounds>\r
+<Offensive_Rebounds>73</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.8</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>285</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>12</Rank>\r
+<Name>P.Gasol,MEM</Name>\r
+<GP>40</GP>\r
+<MPG>36:27</MPG>\r
+<Total_Rebounds>356</Total_Rebounds>\r
+<Avg_Rebounds>8.9</Avg_Rebounds>\r
+<Offensive_Rebounds>120</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.0</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>236</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>13</Rank>\r
+<Name>R.Wallace,POR</Name>\r
+<GP>41</GP>\r
+<MPG>38:24</MPG>\r
+<Total_Rebounds>352</Total_Rebounds>\r
+<Avg_Rebounds>8.6</Avg_Rebounds>\r
+<Offensive_Rebounds>90</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>262</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>14</Rank>\r
+<Name>A.Davis,TOR</Name>\r
+<GP>37</GP>\r
+<MPG>37:24</MPG>\r
+<Total_Rebounds>349</Total_Rebounds>\r
+<Avg_Rebounds>9.4</Avg_Rebounds>\r
+<Offensive_Rebounds>120</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>229</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>15</Rank>\r
+<Name>M.Olowokandi,LAC</Name>\r
+<GP>41</GP>\r
+<MPG>28:05</MPG>\r
+<Total_Rebounds>346</Total_Rebounds>\r
+<Avg_Rebounds>8.4</Avg_Rebounds>\r
+<Offensive_Rebounds>85</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.1</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>261</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>16</Rank>\r
+<Name>N.Mohammed,ATL</Name>\r
+<GP>41</GP>\r
+<MPG>26:36</MPG>\r
+<Total_Rebounds>338</Total_Rebounds>\r
+<Avg_Rebounds>8.2</Avg_Rebounds>\r
+<Offensive_Rebounds>131</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>207</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>17</Rank>\r
+<Name>V.Divac,SAC</Name>\r
+<GP>39</GP>\r
+<MPG>32:43</MPG>\r
+<Total_Rebounds>337</Total_Rebounds>\r
+<Avg_Rebounds>8.6</Avg_Rebounds>\r
+<Offensive_Rebounds>98</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>239</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.1</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>18</Rank>\r
+<Name>B.Miller,CHI</Name>\r
+<GP>39</GP>\r
+<MPG>28:46</MPG>\r
+<Total_Rebounds>329</Total_Rebounds>\r
+<Avg_Rebounds>8.4</Avg_Rebounds>\r
+<Offensive_Rebounds>141</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>188</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.8</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>19</Rank>\r
+<Name>J.Foster,IND</Name>\r
+<GP>43</GP>\r
+<MPG>24:22</MPG>\r
+<Total_Rebounds>325</Total_Rebounds>\r
+<Avg_Rebounds>7.6</Avg_Rebounds>\r
+<Offensive_Rebounds>126</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.9</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>199</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.6</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>20</Rank>\r
+<Name>A.Mason,MIL</Name>\r
+<GP>40</GP>\r
+<MPG>37:52</MPG>\r
+<Total_Rebounds>324</Total_Rebounds>\r
+<Avg_Rebounds>8.1</Avg_Rebounds>\r
+<Offensive_Rebounds>67</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>257</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>21</Rank>\r
+<Name>K.Thomas,NY</Name>\r
+<GP>39</GP>\r
+<MPG>31:10</MPG>\r
+<Total_Rebounds>322</Total_Rebounds>\r
+<Avg_Rebounds>8.3</Avg_Rebounds>\r
+<Offensive_Rebounds>100</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>222</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.7</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Davis,POR</Name>\r
+<GP>39</GP>\r
+<MPG>29:49</MPG>\r
+<Total_Rebounds>322</Total_Rebounds>\r
+<Avg_Rebounds>8.3</Avg_Rebounds>\r
+<Offensive_Rebounds>135</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>187</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.8</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>22</Rank>\r
+<Name>S.O`Neal,LAL</Name>\r
+<GP>30</GP>\r
+<MPG>35:12</MPG>\r
+<Total_Rebounds>321</Total_Rebounds>\r
+<Avg_Rebounds>10.7</Avg_Rebounds>\r
+<Offensive_Rebounds>110</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>211</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>23</Rank>\r
+<Name>K.Clark,TOR</Name>\r
+<GP>41</GP>\r
+<MPG>24:04</MPG>\r
+<Total_Rebounds>315</Total_Rebounds>\r
+<Avg_Rebounds>7.7</Avg_Rebounds>\r
+<Offensive_Rebounds>103</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>212</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>24</Rank>\r
+<Name>R.LaFrentz,DEN</Name>\r
+<GP>41</GP>\r
+<MPG>31:58</MPG>\r
+<Total_Rebounds>310</Total_Rebounds>\r
+<Avg_Rebounds>7.6</Avg_Rebounds>\r
+<Offensive_Rebounds>96</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>214</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>25</Rank>\r
+<Name>D.Robinson,SAN</Name>\r
+<GP>39</GP>\r
+<MPG>28:26</MPG>\r
+<Total_Rebounds>305</Total_Rebounds>\r
+<Avg_Rebounds>7.8</Avg_Rebounds>\r
+<Offensive_Rebounds>102</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>203</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<time_stamp> January 23, 2002, at 03:38 PM ET </time_stamp>\r
+</message>\r
index ad33d5346da6ebae579399f91882e06d10887e50..e0b3aca48fcbdde2bd0dc3be62c2ea53775594a8 100644 (file)
@@ -208,7 +208,7 @@ dtds =
     "WNBAFoulsXML.dtd",
     "WNBAFTPctXML.dtd",
     "WNBAMinutesXML.dtd",
-    "WNBAReboundsXML.dtd", -- no dtd
+    "WNBAReboundsXML.dtd",
     "WNBAScorersXML.dtd", -- no dtd
     "wnbastandxml.dtd", -- no dtd
     "WNBAStealsXML.dtd", -- no dtd
@@ -441,7 +441,8 @@ sport_info_test_files =
     "WNBAFGPctXML.xml",
     "WNBAFoulsXML.xml",
     "WNBAFTPctXML.xml",
-    "WNBAMinutesXML.xml"
+    "WNBAMinutesXML.xml",
+    "WNBAReboundsXML.xml"
   ]
 
 
diff --git a/test/xml/sportinfo/WNBAReboundsXML.dtd b/test/xml/sportinfo/WNBAReboundsXML.dtd
new file mode 100644 (file)
index 0000000..684a1a8
--- /dev/null
@@ -0,0 +1 @@
+<!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 , GP , MPG , Total_Rebounds , Avg_Rebounds , Offensive_Rebounds , AVG_Offensive_Rebounds , Defensive_Rebounds , AVG_Defensive_Rebounds )>\r\r<!ELEMENT Rank  (#PCDATA )>\r\r<!ELEMENT Name  (#PCDATA )>\r\r<!ELEMENT GP  (#PCDATA )>\r\r<!ELEMENT MPG  (#PCDATA )>\r\r<!ELEMENT Total_Rebounds  (#PCDATA )>\r\r<!ELEMENT Avg_Rebounds  (#PCDATA )>\r\r<!ELEMENT Offensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT AVG_Offensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT Defensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT AVG_Defensive_Rebounds  (#PCDATA )>\r\r<!ELEMENT time_stamp  (#PCDATA )>\r\r\r
\ No newline at end of file
diff --git a/test/xml/sportinfo/WNBAReboundsXML.xml b/test/xml/sportinfo/WNBAReboundsXML.xml
new file mode 100644 (file)
index 0000000..dc2fe32
--- /dev/null
@@ -0,0 +1,346 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "WNBAReboundsXML.dtd">\r
+<message>\r
+<XML_File_ID>8297117</XML_File_ID>\r
+<heading>ACX%REBOUNDS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>NBA</sport>\r
+<Title>2001-2002 NBA Top 25 Rebounding Leaders</Title>\r
+<Listing>\r
+<Rank>1</Rank>\r
+<Name>D.Fortson,GS</Name>\r
+<GP>40</GP>\r
+<MPG>30:24</MPG>\r
+<Total_Rebounds>507</Total_Rebounds>\r
+<Avg_Rebounds>12.7</Avg_Rebounds>\r
+<Offensive_Rebounds>172</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>4.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>335</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>2</Rank>\r
+<Name>T.Duncan,SAN</Name>\r
+<GP>39</GP>\r
+<MPG>41:23</MPG>\r
+<Total_Rebounds>505</Total_Rebounds>\r
+<Avg_Rebounds>12.9</Avg_Rebounds>\r
+<Offensive_Rebounds>137</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>368</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>9.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>3</Rank>\r
+<Name>K.Garnett,MIN</Name>\r
+<GP>40</GP>\r
+<MPG>39:13</MPG>\r
+<Total_Rebounds>484</Total_Rebounds>\r
+<Avg_Rebounds>12.1</Avg_Rebounds>\r
+<Offensive_Rebounds>123</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.1</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>361</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>9.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>4</Rank>\r
+<Name>D.Mutombo,PHI</Name>\r
+<GP>41</GP>\r
+<MPG>36:13</MPG>\r
+<Total_Rebounds>472</Total_Rebounds>\r
+<Avg_Rebounds>11.5</Avg_Rebounds>\r
+<Offensive_Rebounds>137</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>335</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>E.Brand,LAC</Name>\r
+<GP>42</GP>\r
+<MPG>36:21</MPG>\r
+<Total_Rebounds>472</Total_Rebounds>\r
+<Avg_Rebounds>11.2</Avg_Rebounds>\r
+<Offensive_Rebounds>182</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>4.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>290</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>5</Rank>\r
+<Name>B.Wallace,DET</Name>\r
+<GP>39</GP>\r
+<MPG>34:13</MPG>\r
+<Total_Rebounds>454</Total_Rebounds>\r
+<Avg_Rebounds>11.6</Avg_Rebounds>\r
+<Offensive_Rebounds>139</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>315</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>8.1</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>6</Rank>\r
+<Name>S.Marion,PHO</Name>\r
+<GP>41</GP>\r
+<MPG>36:42</MPG>\r
+<Total_Rebounds>388</Total_Rebounds>\r
+<Avg_Rebounds>9.5</Avg_Rebounds>\r
+<Offensive_Rebounds>112</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>276</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.7</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>7</Rank>\r
+<Name>A.Walker,BOS</Name>\r
+<GP>40</GP>\r
+<MPG>42:36</MPG>\r
+<Total_Rebounds>387</Total_Rebounds>\r
+<Avg_Rebounds>9.7</Avg_Rebounds>\r
+<Offensive_Rebounds>93</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>294</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>8</Rank>\r
+<Name>J.O`Neal,IND</Name>\r
+<GP>36</GP>\r
+<MPG>36:05</MPG>\r
+<Total_Rebounds>384</Total_Rebounds>\r
+<Avg_Rebounds>10.7</Avg_Rebounds>\r
+<Offensive_Rebounds>98</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>286</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>9</Rank>\r
+<Name>S.Abdur-Rahim,ATL</Name>\r
+<GP>39</GP>\r
+<MPG>37:26</MPG>\r
+<Total_Rebounds>382</Total_Rebounds>\r
+<Avg_Rebounds>9.8</Avg_Rebounds>\r
+<Offensive_Rebounds>111</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.8</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>271</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>10</Rank>\r
+<Name>P.Brown,CHA</Name>\r
+<GP>39</GP>\r
+<MPG>31:30</MPG>\r
+<Total_Rebounds>379</Total_Rebounds>\r
+<Avg_Rebounds>9.7</Avg_Rebounds>\r
+<Offensive_Rebounds>126</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>253</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.5</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Nowitzki,DAL</Name>\r
+<GP>40</GP>\r
+<MPG>37:49</MPG>\r
+<Total_Rebounds>379</Total_Rebounds>\r
+<Avg_Rebounds>9.5</Avg_Rebounds>\r
+<Offensive_Rebounds>65</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>314</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>11</Rank>\r
+<Name>K.Malone,UTA</Name>\r
+<GP>41</GP>\r
+<MPG>38:43</MPG>\r
+<Total_Rebounds>358</Total_Rebounds>\r
+<Avg_Rebounds>8.7</Avg_Rebounds>\r
+<Offensive_Rebounds>73</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.8</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>285</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>12</Rank>\r
+<Name>P.Gasol,MEM</Name>\r
+<GP>40</GP>\r
+<MPG>36:27</MPG>\r
+<Total_Rebounds>356</Total_Rebounds>\r
+<Avg_Rebounds>8.9</Avg_Rebounds>\r
+<Offensive_Rebounds>120</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.0</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>236</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.9</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>13</Rank>\r
+<Name>R.Wallace,POR</Name>\r
+<GP>41</GP>\r
+<MPG>38:24</MPG>\r
+<Total_Rebounds>352</Total_Rebounds>\r
+<Avg_Rebounds>8.6</Avg_Rebounds>\r
+<Offensive_Rebounds>90</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>262</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>14</Rank>\r
+<Name>A.Davis,TOR</Name>\r
+<GP>37</GP>\r
+<MPG>37:24</MPG>\r
+<Total_Rebounds>349</Total_Rebounds>\r
+<Avg_Rebounds>9.4</Avg_Rebounds>\r
+<Offensive_Rebounds>120</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>229</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>15</Rank>\r
+<Name>M.Olowokandi,LAC</Name>\r
+<GP>41</GP>\r
+<MPG>28:05</MPG>\r
+<Total_Rebounds>346</Total_Rebounds>\r
+<Avg_Rebounds>8.4</Avg_Rebounds>\r
+<Offensive_Rebounds>85</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.1</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>261</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>16</Rank>\r
+<Name>N.Mohammed,ATL</Name>\r
+<GP>41</GP>\r
+<MPG>26:36</MPG>\r
+<Total_Rebounds>338</Total_Rebounds>\r
+<Avg_Rebounds>8.2</Avg_Rebounds>\r
+<Offensive_Rebounds>131</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.2</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>207</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>17</Rank>\r
+<Name>V.Divac,SAC</Name>\r
+<GP>39</GP>\r
+<MPG>32:43</MPG>\r
+<Total_Rebounds>337</Total_Rebounds>\r
+<Avg_Rebounds>8.6</Avg_Rebounds>\r
+<Offensive_Rebounds>98</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>239</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.1</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>18</Rank>\r
+<Name>B.Miller,CHI</Name>\r
+<GP>39</GP>\r
+<MPG>28:46</MPG>\r
+<Total_Rebounds>329</Total_Rebounds>\r
+<Avg_Rebounds>8.4</Avg_Rebounds>\r
+<Offensive_Rebounds>141</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>188</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.8</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>19</Rank>\r
+<Name>J.Foster,IND</Name>\r
+<GP>43</GP>\r
+<MPG>24:22</MPG>\r
+<Total_Rebounds>325</Total_Rebounds>\r
+<Avg_Rebounds>7.6</Avg_Rebounds>\r
+<Offensive_Rebounds>126</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.9</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>199</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.6</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>20</Rank>\r
+<Name>A.Mason,MIL</Name>\r
+<GP>40</GP>\r
+<MPG>37:52</MPG>\r
+<Total_Rebounds>324</Total_Rebounds>\r
+<Avg_Rebounds>8.1</Avg_Rebounds>\r
+<Offensive_Rebounds>67</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>1.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>257</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>6.4</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>21</Rank>\r
+<Name>K.Thomas,NY</Name>\r
+<GP>39</GP>\r
+<MPG>31:10</MPG>\r
+<Total_Rebounds>322</Total_Rebounds>\r
+<Avg_Rebounds>8.3</Avg_Rebounds>\r
+<Offensive_Rebounds>100</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>222</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.7</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Davis,POR</Name>\r
+<GP>39</GP>\r
+<MPG>29:49</MPG>\r
+<Total_Rebounds>322</Total_Rebounds>\r
+<Avg_Rebounds>8.3</Avg_Rebounds>\r
+<Offensive_Rebounds>135</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>187</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>4.8</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>22</Rank>\r
+<Name>S.O`Neal,LAL</Name>\r
+<GP>30</GP>\r
+<MPG>35:12</MPG>\r
+<Total_Rebounds>321</Total_Rebounds>\r
+<Avg_Rebounds>10.7</Avg_Rebounds>\r
+<Offensive_Rebounds>110</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>3.7</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>211</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>7.0</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>23</Rank>\r
+<Name>K.Clark,TOR</Name>\r
+<GP>41</GP>\r
+<MPG>24:04</MPG>\r
+<Total_Rebounds>315</Total_Rebounds>\r
+<Avg_Rebounds>7.7</Avg_Rebounds>\r
+<Offensive_Rebounds>103</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.5</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>212</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>24</Rank>\r
+<Name>R.LaFrentz,DEN</Name>\r
+<GP>41</GP>\r
+<MPG>31:58</MPG>\r
+<Total_Rebounds>310</Total_Rebounds>\r
+<Avg_Rebounds>7.6</Avg_Rebounds>\r
+<Offensive_Rebounds>96</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.3</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>214</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<Listing>\r
+<Rank>25</Rank>\r
+<Name>D.Robinson,SAN</Name>\r
+<GP>39</GP>\r
+<MPG>28:26</MPG>\r
+<Total_Rebounds>305</Total_Rebounds>\r
+<Avg_Rebounds>7.8</Avg_Rebounds>\r
+<Offensive_Rebounds>102</Offensive_Rebounds>\r
+<AVG_Offensive_Rebounds>2.6</AVG_Offensive_Rebounds>\r
+<Defensive_Rebounds>203</Defensive_Rebounds>\r
+<AVG_Defensive_Rebounds>5.2</AVG_Defensive_Rebounds>\r
+</Listing>\r
+<time_stamp> January 23, 2002, at 03:38 PM ET </time_stamp>\r
+</message>\r