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

index a583ff92b71159d5bc2147be3ea7fa8c46810260..9bc682a2425c95aec59cdf2ddc369813e5a77e38 100644 (file)
@@ -112,6 +112,8 @@ SportInfo
 CBASK_3PPctXML.dtd
 .IP \[bu]
 Cbask_All_Tourn_Teams_XML.dtd
+.IP \[bu]
+CBASK_AssistsXML.dtd
 .RE
 .P
 The GameInfo and SportInfo types do not have their own top-level
diff --git a/schema/CBASK_AssistsXML.dtd b/schema/CBASK_AssistsXML.dtd
new file mode 100644 (file)
index 0000000..fe064aa
--- /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 , School , GP , MPG , Assists , Avg_Assists , Turnovers , AVG_Turnovers , Points , AVG_Points )>\r
+\r
+<!ELEMENT Rank  (#PCDATA )>\r
+\r
+<!ELEMENT Name  (#PCDATA )>\r
+\r
+<!ELEMENT School  (#PCDATA )>\r
+\r
+<!ELEMENT GP  (#PCDATA )>\r
+\r
+<!ELEMENT MPG  (#PCDATA )>\r
+\r
+<!ELEMENT Assists  (#PCDATA )>\r
+\r
+<!ELEMENT Avg_Assists  (#PCDATA )>\r
+\r
+<!ELEMENT Turnovers  (#PCDATA )>\r
+\r
+<!ELEMENT AVG_Turnovers  (#PCDATA )>\r
+\r
+<!ELEMENT Points  (#PCDATA )>\r
+\r
+<!ELEMENT AVG_Points  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/schemagen/CBASK_AssistsXML/CBASK_AssistsXML.xml b/schemagen/CBASK_AssistsXML/CBASK_AssistsXML.xml
new file mode 100644 (file)
index 0000000..17abbfa
--- /dev/null
@@ -0,0 +1,465 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "CBASK_AssistsXML.dtd">\r
+<message>\r
+<XML_File_ID>17</XML_File_ID>\r
+<heading>AEX%ASSISTS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>CBASK</sport>\r
+<Title>2002-2003 Men's NCAA Basketball Top 25 Assist Leaders</Title>\r
+<Listing>\r
+<Rank>1</Rank>\r
+<Name>Z.Towe</Name>\r
+<School>Central Methodist</School>\r
+<GP>1</GP>\r
+<MPG>35:00</MPG>\r
+<Assists>10</Assists>\r
+<Avg_Assists>10.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>2</Rank>\r
+<Name>R.Kohn</Name>\r
+<School>South Florida</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>20</Assists>\r
+<Avg_Assists>10.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>0.5</AVG_Turnovers>\r
+<Points>23</Points>\r
+<AVG_Points>11.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>3</Rank>\r
+<Name>R.Little</Name>\r
+<School>Va Military</School>\r
+<GP>3</GP>\r
+<MPG>32:40</MPG>\r
+<Assists>28</Assists>\r
+<Avg_Assists>9.3</Avg_Assists>\r
+<Turnovers>16</Turnovers>\r
+<AVG_Turnovers>5.3</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>4.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>4</Rank>\r
+<Name>J.Holman</Name>\r
+<School>Wichita State</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>18</Assists>\r
+<Avg_Assists>9.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>4.5</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>7.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>5</Rank>\r
+<Name>M.Bailey</Name>\r
+<School>Ill-Chicago</School>\r
+<GP>3</GP>\r
+<MPG>37:40</MPG>\r
+<Assists>27</Assists>\r
+<Avg_Assists>9.0</Avg_Assists>\r
+<Turnovers>12</Turnovers>\r
+<AVG_Turnovers>4.0</AVG_Turnovers>\r
+<Points>49</Points>\r
+<AVG_Points>16.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>6</Rank>\r
+<Name>S.Blake</Name>\r
+<School>Maryland</School>\r
+<GP>3</GP>\r
+<MPG>27:40</MPG>\r
+<Assists>26</Assists>\r
+<Avg_Assists>8.7</Avg_Assists>\r
+<Turnovers>13</Turnovers>\r
+<AVG_Turnovers>4.3</AVG_Turnovers>\r
+<Points>22</Points>\r
+<AVG_Points>7.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>C.Duhon</Name>\r
+<School>Duke</School>\r
+<GP>3</GP>\r
+<MPG>32:40</MPG>\r
+<Assists>26</Assists>\r
+<Avg_Assists>8.7</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>2.7</AVG_Turnovers>\r
+<Points>40</Points>\r
+<AVG_Points>13.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>7</Rank>\r
+<Name>M.Whitaker</Name>\r
+<School>Fair-Dickinson</School>\r
+<GP>2</GP>\r
+<MPG>32:30</MPG>\r
+<Assists>17</Assists>\r
+<Avg_Assists>8.5</Avg_Assists>\r
+<Turnovers>3</Turnovers>\r
+<AVG_Turnovers>1.5</AVG_Turnovers>\r
+<Points>18</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>8</Rank>\r
+<Name>L.Ridnour</Name>\r
+<School>Oregon</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>25</Assists>\r
+<Avg_Assists>8.3</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>3.0</AVG_Turnovers>\r
+<Points>64</Points>\r
+<AVG_Points>21.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>9</Rank>\r
+<Name>E.Scott</Name>\r
+<School>Clemson</School>\r
+<GP>2</GP>\r
+<MPG>36:30</MPG>\r
+<Assists>16</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>2.0</AVG_Turnovers>\r
+<Points>33</Points>\r
+<AVG_Points>16.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>10</Rank>\r
+<Name>A.Barrett</Name>\r
+<School>Seton Hall</School>\r
+<GP>1</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>8</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>14.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>11</Rank>\r
+<Name>T.Thompson</Name>\r
+<School>George Washington</School>\r
+<GP>3</GP>\r
+<MPG>31:20</MPG>\r
+<Assists>24</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>13</Turnovers>\r
+<AVG_Turnovers>4.3</AVG_Turnovers>\r
+<Points>29</Points>\r
+<AVG_Points>9.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>12</Rank>\r
+<Name>D.Hawkins</Name>\r
+<School>Francis Marion</School>\r
+<GP>1</GP>\r
+<MPG>34:00</MPG>\r
+<Assists>8</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>8.0</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>13</Rank>\r
+<Name>B.Knight</Name>\r
+<School>Pittsburgh</School>\r
+<GP>3</GP>\r
+<MPG>30:00</MPG>\r
+<Assists>23</Assists>\r
+<Avg_Assists>7.7</Avg_Assists>\r
+<Turnovers>11</Turnovers>\r
+<AVG_Turnovers>3.7</AVG_Turnovers>\r
+<Points>34</Points>\r
+<AVG_Points>11.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>M.Sykes</Name>\r
+<School>Morehead State</School>\r
+<GP>3</GP>\r
+<MPG>27:00</MPG>\r
+<Assists>23</Assists>\r
+<Avg_Assists>7.7</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>28</Points>\r
+<AVG_Points>9.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>14</Rank>\r
+<Name>J.Lucas</Name>\r
+<School>Baylor</School>\r
+<GP>2</GP>\r
+<MPG>35:30</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>2.5</AVG_Turnovers>\r
+<Points>29</Points>\r
+<AVG_Points>14.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>T.Barnes</Name>\r
+<School>Iowa State</School>\r
+<GP>2</GP>\r
+<MPG>35:00</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>0</Turnovers>\r
+<AVG_Turnovers>0.0</AVG_Turnovers>\r
+<Points>25</Points>\r
+<AVG_Points>12.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Haynes</Name>\r
+<School>Kent State</School>\r
+<GP>2</GP>\r
+<MPG>26:00</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>7</Turnovers>\r
+<AVG_Turnovers>3.5</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>7.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>15</Rank>\r
+<Name>C.Eidson</Name>\r
+<School>South Carolina</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>10</Turnovers>\r
+<AVG_Turnovers>3.3</AVG_Turnovers>\r
+<Points>60</Points>\r
+<AVG_Points>20.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>K.Mims</Name>\r
+<School>Quinnipiac</School>\r
+<GP>3</GP>\r
+<MPG>35:40</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>28</Points>\r
+<AVG_Points>9.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>J.Jack</Name>\r
+<School>Georgia Tech</School>\r
+<GP>3</GP>\r
+<MPG>29:20</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>11</Turnovers>\r
+<AVG_Turnovers>3.7</AVG_Turnovers>\r
+<Points>35</Points>\r
+<AVG_Points>11.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>J.Spencer-Gardner</Name>\r
+<School>Oral Roberts</School>\r
+<GP>3</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>1.3</AVG_Turnovers>\r
+<Points>37</Points>\r
+<AVG_Points>12.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>16</Rank>\r
+<Name>H.Smith</Name>\r
+<School>Rhode Island</School>\r
+<GP>3</GP>\r
+<MPG>31:40</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>1.3</AVG_Turnovers>\r
+<Points>13</Points>\r
+<AVG_Points>4.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>17</Rank>\r
+<Name>R.Felton</Name>\r
+<School>North Carolina</School>\r
+<GP>5</GP>\r
+<MPG>33:12</MPG>\r
+<Assists>35</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>17</Turnovers>\r
+<AVG_Turnovers>3.4</AVG_Turnovers>\r
+<Points>46</Points>\r
+<AVG_Points>9.2</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>18</Rank>\r
+<Name>D.McGrath</Name>\r
+<School>Providence</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>17</Points>\r
+<AVG_Points>5.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>19</Rank>\r
+<Name>A.Griffin</Name>\r
+<School>CS-Monterey</School>\r
+<GP>1</GP>\r
+<MPG>37:00</MPG>\r
+<Assists>7</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>5.0</AVG_Turnovers>\r
+<Points>19</Points>\r
+<AVG_Points>19.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>20</Rank>\r
+<Name>M.Slattery</Name>\r
+<School>Delaware</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>4.0</AVG_Turnovers>\r
+<Points>16</Points>\r
+<AVG_Points>8.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>R.Iversen</Name>\r
+<School>Delaware</School>\r
+<GP>2</GP>\r
+<MPG>29:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>0.5</AVG_Turnovers>\r
+<Points>24</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>C.Bozeman</Name>\r
+<School>U-C-L-A</School>\r
+<GP>2</GP>\r
+<MPG>38:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>2.0</AVG_Turnovers>\r
+<Points>24</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>I.Jefferson</Name>\r
+<School>Hampton</School>\r
+<GP>2</GP>\r
+<MPG>24:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>4.5</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>4.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>21</Rank>\r
+<Name>T.Ford</Name>\r
+<School>Texas</School>\r
+<GP>3</GP>\r
+<MPG>29:20</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>18</Turnovers>\r
+<AVG_Turnovers>6.0</AVG_Turnovers>\r
+<Points>36</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>22</Rank>\r
+<Name>J.Meade</Name>\r
+<School>Holy Cross</School>\r
+<GP>4</GP>\r
+<MPG>31:45</MPG>\r
+<Assists>28</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>2.3</AVG_Turnovers>\r
+<Points>32</Points>\r
+<AVG_Points>8.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>23</Rank>\r
+<Name>T.Scott</Name>\r
+<School>Southern Univ</School>\r
+<GP>2</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>7</Turnovers>\r
+<AVG_Turnovers>3.5</AVG_Turnovers>\r
+<Points>7</Points>\r
+<AVG_Points>3.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>24</Rank>\r
+<Name>J.Faulknor</Name>\r
+<School>Bradley</School>\r
+<GP>1</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>7</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>3</Turnovers>\r
+<AVG_Turnovers>3.0</AVG_Turnovers>\r
+<Points>0</Points>\r
+<AVG_Points>0.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>25</Rank>\r
+<Name>M.Wright</Name>\r
+<School>Marshall</School>\r
+<GP>2</GP>\r
+<MPG>31:30</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>2</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>17</Points>\r
+<AVG_Points>8.5</AVG_Points>\r
+</Listing>\r
+<time_stamp> December 2, 2002, at 02:33 PM ET </time_stamp>\r
+</message>\r
index ec9a8f87cbbcf369ce26de6fd0fe3e36cff12e49..2f93f7b2629ba0caa9367b0fd415ae20daa1e95b 100644 (file)
@@ -68,7 +68,7 @@ dtds :: [String]
 dtds =
   [ "CBASK_3PPctXML.dtd",
     "Cbask_All_Tourn_Teams_XML.dtd",
-    "CBASK_AssistsXML.dtd", -- no dtd
+    "CBASK_AssistsXML.dtd",
     "Cbask_Awards_XML.dtd", -- no dtd
     "CBASK_BlocksXML.dtd", -- no dtd
     "CBask_BlocksXML.dtd", -- no dtd
@@ -319,7 +319,9 @@ sportinfo_tests =
 sportinfo_test_files :: [FilePath]
 sportinfo_test_files =
   [ "test/xml/sportinfo/CBASK_3PPctXML.xml",
-    "test/xml/sportinfo/Cbask_All_Tourn_Teams_XML.xml" ]
+    "test/xml/sportinfo/Cbask_All_Tourn_Teams_XML.xml",
+    "test/xml/sportinfo/CBASK_AssistsXML.xml"
+  ]
 
 
 
diff --git a/test/xml/sportinfo/CBASK_AssistsXML.dtd b/test/xml/sportinfo/CBASK_AssistsXML.dtd
new file mode 100644 (file)
index 0000000..fe064aa
--- /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 , School , GP , MPG , Assists , Avg_Assists , Turnovers , AVG_Turnovers , Points , AVG_Points )>\r
+\r
+<!ELEMENT Rank  (#PCDATA )>\r
+\r
+<!ELEMENT Name  (#PCDATA )>\r
+\r
+<!ELEMENT School  (#PCDATA )>\r
+\r
+<!ELEMENT GP  (#PCDATA )>\r
+\r
+<!ELEMENT MPG  (#PCDATA )>\r
+\r
+<!ELEMENT Assists  (#PCDATA )>\r
+\r
+<!ELEMENT Avg_Assists  (#PCDATA )>\r
+\r
+<!ELEMENT Turnovers  (#PCDATA )>\r
+\r
+<!ELEMENT AVG_Turnovers  (#PCDATA )>\r
+\r
+<!ELEMENT Points  (#PCDATA )>\r
+\r
+<!ELEMENT AVG_Points  (#PCDATA )>\r
+\r
+<!ELEMENT time_stamp  (#PCDATA )>\r
+\r
diff --git a/test/xml/sportinfo/CBASK_AssistsXML.xml b/test/xml/sportinfo/CBASK_AssistsXML.xml
new file mode 100644 (file)
index 0000000..17abbfa
--- /dev/null
@@ -0,0 +1,465 @@
+<?xml version="1.0" standalone="no" ?>\r
+<!DOCTYPE message PUBLIC "-//TSN//DTD Statistics 1.0/EN" "CBASK_AssistsXML.dtd">\r
+<message>\r
+<XML_File_ID>17</XML_File_ID>\r
+<heading>AEX%ASSISTS-LEADERS</heading>\r
+<category>Statistics</category>\r
+<sport>CBASK</sport>\r
+<Title>2002-2003 Men's NCAA Basketball Top 25 Assist Leaders</Title>\r
+<Listing>\r
+<Rank>1</Rank>\r
+<Name>Z.Towe</Name>\r
+<School>Central Methodist</School>\r
+<GP>1</GP>\r
+<MPG>35:00</MPG>\r
+<Assists>10</Assists>\r
+<Avg_Assists>10.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>2</Rank>\r
+<Name>R.Kohn</Name>\r
+<School>South Florida</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>20</Assists>\r
+<Avg_Assists>10.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>0.5</AVG_Turnovers>\r
+<Points>23</Points>\r
+<AVG_Points>11.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>3</Rank>\r
+<Name>R.Little</Name>\r
+<School>Va Military</School>\r
+<GP>3</GP>\r
+<MPG>32:40</MPG>\r
+<Assists>28</Assists>\r
+<Avg_Assists>9.3</Avg_Assists>\r
+<Turnovers>16</Turnovers>\r
+<AVG_Turnovers>5.3</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>4.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>4</Rank>\r
+<Name>J.Holman</Name>\r
+<School>Wichita State</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>18</Assists>\r
+<Avg_Assists>9.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>4.5</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>7.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>5</Rank>\r
+<Name>M.Bailey</Name>\r
+<School>Ill-Chicago</School>\r
+<GP>3</GP>\r
+<MPG>37:40</MPG>\r
+<Assists>27</Assists>\r
+<Avg_Assists>9.0</Avg_Assists>\r
+<Turnovers>12</Turnovers>\r
+<AVG_Turnovers>4.0</AVG_Turnovers>\r
+<Points>49</Points>\r
+<AVG_Points>16.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>6</Rank>\r
+<Name>S.Blake</Name>\r
+<School>Maryland</School>\r
+<GP>3</GP>\r
+<MPG>27:40</MPG>\r
+<Assists>26</Assists>\r
+<Avg_Assists>8.7</Avg_Assists>\r
+<Turnovers>13</Turnovers>\r
+<AVG_Turnovers>4.3</AVG_Turnovers>\r
+<Points>22</Points>\r
+<AVG_Points>7.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>C.Duhon</Name>\r
+<School>Duke</School>\r
+<GP>3</GP>\r
+<MPG>32:40</MPG>\r
+<Assists>26</Assists>\r
+<Avg_Assists>8.7</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>2.7</AVG_Turnovers>\r
+<Points>40</Points>\r
+<AVG_Points>13.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>7</Rank>\r
+<Name>M.Whitaker</Name>\r
+<School>Fair-Dickinson</School>\r
+<GP>2</GP>\r
+<MPG>32:30</MPG>\r
+<Assists>17</Assists>\r
+<Avg_Assists>8.5</Avg_Assists>\r
+<Turnovers>3</Turnovers>\r
+<AVG_Turnovers>1.5</AVG_Turnovers>\r
+<Points>18</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>8</Rank>\r
+<Name>L.Ridnour</Name>\r
+<School>Oregon</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>25</Assists>\r
+<Avg_Assists>8.3</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>3.0</AVG_Turnovers>\r
+<Points>64</Points>\r
+<AVG_Points>21.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>9</Rank>\r
+<Name>E.Scott</Name>\r
+<School>Clemson</School>\r
+<GP>2</GP>\r
+<MPG>36:30</MPG>\r
+<Assists>16</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>2.0</AVG_Turnovers>\r
+<Points>33</Points>\r
+<AVG_Points>16.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>10</Rank>\r
+<Name>A.Barrett</Name>\r
+<School>Seton Hall</School>\r
+<GP>1</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>8</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>14.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>11</Rank>\r
+<Name>T.Thompson</Name>\r
+<School>George Washington</School>\r
+<GP>3</GP>\r
+<MPG>31:20</MPG>\r
+<Assists>24</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>13</Turnovers>\r
+<AVG_Turnovers>4.3</AVG_Turnovers>\r
+<Points>29</Points>\r
+<AVG_Points>9.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>12</Rank>\r
+<Name>D.Hawkins</Name>\r
+<School>Francis Marion</School>\r
+<GP>1</GP>\r
+<MPG>34:00</MPG>\r
+<Assists>8</Assists>\r
+<Avg_Assists>8.0</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>8.0</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>9.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>13</Rank>\r
+<Name>B.Knight</Name>\r
+<School>Pittsburgh</School>\r
+<GP>3</GP>\r
+<MPG>30:00</MPG>\r
+<Assists>23</Assists>\r
+<Avg_Assists>7.7</Avg_Assists>\r
+<Turnovers>11</Turnovers>\r
+<AVG_Turnovers>3.7</AVG_Turnovers>\r
+<Points>34</Points>\r
+<AVG_Points>11.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>M.Sykes</Name>\r
+<School>Morehead State</School>\r
+<GP>3</GP>\r
+<MPG>27:00</MPG>\r
+<Assists>23</Assists>\r
+<Avg_Assists>7.7</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>28</Points>\r
+<AVG_Points>9.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>14</Rank>\r
+<Name>J.Lucas</Name>\r
+<School>Baylor</School>\r
+<GP>2</GP>\r
+<MPG>35:30</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>2.5</AVG_Turnovers>\r
+<Points>29</Points>\r
+<AVG_Points>14.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>T.Barnes</Name>\r
+<School>Iowa State</School>\r
+<GP>2</GP>\r
+<MPG>35:00</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>0</Turnovers>\r
+<AVG_Turnovers>0.0</AVG_Turnovers>\r
+<Points>25</Points>\r
+<AVG_Points>12.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>D.Haynes</Name>\r
+<School>Kent State</School>\r
+<GP>2</GP>\r
+<MPG>26:00</MPG>\r
+<Assists>15</Assists>\r
+<Avg_Assists>7.5</Avg_Assists>\r
+<Turnovers>7</Turnovers>\r
+<AVG_Turnovers>3.5</AVG_Turnovers>\r
+<Points>14</Points>\r
+<AVG_Points>7.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>15</Rank>\r
+<Name>C.Eidson</Name>\r
+<School>South Carolina</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>10</Turnovers>\r
+<AVG_Turnovers>3.3</AVG_Turnovers>\r
+<Points>60</Points>\r
+<AVG_Points>20.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>K.Mims</Name>\r
+<School>Quinnipiac</School>\r
+<GP>3</GP>\r
+<MPG>35:40</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>28</Points>\r
+<AVG_Points>9.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>J.Jack</Name>\r
+<School>Georgia Tech</School>\r
+<GP>3</GP>\r
+<MPG>29:20</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>11</Turnovers>\r
+<AVG_Turnovers>3.7</AVG_Turnovers>\r
+<Points>35</Points>\r
+<AVG_Points>11.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>J.Spencer-Gardner</Name>\r
+<School>Oral Roberts</School>\r
+<GP>3</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>22</Assists>\r
+<Avg_Assists>7.3</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>1.3</AVG_Turnovers>\r
+<Points>37</Points>\r
+<AVG_Points>12.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>16</Rank>\r
+<Name>H.Smith</Name>\r
+<School>Rhode Island</School>\r
+<GP>3</GP>\r
+<MPG>31:40</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>1.3</AVG_Turnovers>\r
+<Points>13</Points>\r
+<AVG_Points>4.3</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>17</Rank>\r
+<Name>R.Felton</Name>\r
+<School>North Carolina</School>\r
+<GP>5</GP>\r
+<MPG>33:12</MPG>\r
+<Assists>35</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>17</Turnovers>\r
+<AVG_Turnovers>3.4</AVG_Turnovers>\r
+<Points>46</Points>\r
+<AVG_Points>9.2</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>18</Rank>\r
+<Name>D.McGrath</Name>\r
+<School>Providence</School>\r
+<GP>3</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>1.7</AVG_Turnovers>\r
+<Points>17</Points>\r
+<AVG_Points>5.7</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>19</Rank>\r
+<Name>A.Griffin</Name>\r
+<School>CS-Monterey</School>\r
+<GP>1</GP>\r
+<MPG>37:00</MPG>\r
+<Assists>7</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>5</Turnovers>\r
+<AVG_Turnovers>5.0</AVG_Turnovers>\r
+<Points>19</Points>\r
+<AVG_Points>19.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>20</Rank>\r
+<Name>M.Slattery</Name>\r
+<School>Delaware</School>\r
+<GP>2</GP>\r
+<MPG>31:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>8</Turnovers>\r
+<AVG_Turnovers>4.0</AVG_Turnovers>\r
+<Points>16</Points>\r
+<AVG_Points>8.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>R.Iversen</Name>\r
+<School>Delaware</School>\r
+<GP>2</GP>\r
+<MPG>29:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>1</Turnovers>\r
+<AVG_Turnovers>0.5</AVG_Turnovers>\r
+<Points>24</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>C.Bozeman</Name>\r
+<School>U-C-L-A</School>\r
+<GP>2</GP>\r
+<MPG>38:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>4</Turnovers>\r
+<AVG_Turnovers>2.0</AVG_Turnovers>\r
+<Points>24</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank />\r
+<Name>I.Jefferson</Name>\r
+<School>Hampton</School>\r
+<GP>2</GP>\r
+<MPG>24:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>4.5</AVG_Turnovers>\r
+<Points>9</Points>\r
+<AVG_Points>4.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>21</Rank>\r
+<Name>T.Ford</Name>\r
+<School>Texas</School>\r
+<GP>3</GP>\r
+<MPG>29:20</MPG>\r
+<Assists>21</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>18</Turnovers>\r
+<AVG_Turnovers>6.0</AVG_Turnovers>\r
+<Points>36</Points>\r
+<AVG_Points>12.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>22</Rank>\r
+<Name>J.Meade</Name>\r
+<School>Holy Cross</School>\r
+<GP>4</GP>\r
+<MPG>31:45</MPG>\r
+<Assists>28</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>9</Turnovers>\r
+<AVG_Turnovers>2.3</AVG_Turnovers>\r
+<Points>32</Points>\r
+<AVG_Points>8.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>23</Rank>\r
+<Name>T.Scott</Name>\r
+<School>Southern Univ</School>\r
+<GP>2</GP>\r
+<MPG>33:00</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>7</Turnovers>\r
+<AVG_Turnovers>3.5</AVG_Turnovers>\r
+<Points>7</Points>\r
+<AVG_Points>3.5</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>24</Rank>\r
+<Name>J.Faulknor</Name>\r
+<School>Bradley</School>\r
+<GP>1</GP>\r
+<MPG>32:00</MPG>\r
+<Assists>7</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>3</Turnovers>\r
+<AVG_Turnovers>3.0</AVG_Turnovers>\r
+<Points>0</Points>\r
+<AVG_Points>0.0</AVG_Points>\r
+</Listing>\r
+<Listing>\r
+<Rank>25</Rank>\r
+<Name>M.Wright</Name>\r
+<School>Marshall</School>\r
+<GP>2</GP>\r
+<MPG>31:30</MPG>\r
+<Assists>14</Assists>\r
+<Avg_Assists>7.0</Avg_Assists>\r
+<Turnovers>2</Turnovers>\r
+<AVG_Turnovers>1.0</AVG_Turnovers>\r
+<Points>17</Points>\r
+<AVG_Points>8.5</AVG_Points>\r
+</Listing>\r
+<time_stamp> December 2, 2002, at 02:33 PM ET </time_stamp>\r
+</message>\r