From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:50:43 +0000 (-0400) Subject: Add SportInfo support for NFLQBStartsXML.dtd. X-Git-Tag: 0.0.6~99 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d053f447c6098134211636ec8bf8d24890d075af;p=dead%2Fhtsn-import.git Add SportInfo support for NFLQBStartsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index a27c92b..76927ec 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -320,6 +320,8 @@ NFLKickoffsXML.dtd NFLMondayNightXML.dtd .IP \[bu] NFLPassLeadXML.dtd +.IP \[bu] +NFLQBStartsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLQBStartsXML.dtd b/schema/NFLQBStartsXML.dtd new file mode 100644 index 0000000..a67b67b --- /dev/null +++ b/schema/NFLQBStartsXML.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLQBStartsXML/NFLQBStartsXML.xml b/schemagen/NFLQBStartsXML/NFLQBStartsXML.xml new file mode 100644 index 0000000..9f9798e --- /dev/null +++ b/schemagen/NFLQBStartsXML/NFLQBStartsXML.xml @@ -0,0 +1,375 @@ + + + +81117 +ABX%NFL-QB-STARTS +Statistics +NFL +NFL Statistics - Starting Records of Active NFL Quarterbacks +(Minimum 10 Starts - Regular Season Only) ++Kurt Warner +29 +8 +0 +.784 + ++Jay Fiedler +18 +8 +0 +.692 + ++Shaun King +14 +7 +0 +.667 + ++Brett Favre +98 +53 +0 +.649 + ++Doug Flutie +35 +20 +0 +.636 + ++Brad Johnson +37 +23 +0 +.617 + ++Steve McNair +45 +28 +0 +.616 + ++Jim Miller +8 +5 +0 +.615 + ++Randall Cunningham +82 +52 +1 +.611 + ++Donovan McNabb +20 +13 +0 +.606 + ++Mark Rypien +47 +31 +0 +.603 + ++Kordell Stewart +38 +26 +0 +.594 + ++Donovan McNabb +20 +13 +0 +.606 + ++Rich Gannon +59 +41 +0 +.590 + ++Mark Brunell +54 +39 +0 +.581 + ++Daunte Culpepper +15 +11 +0 +.577 + ++Elvis Grbac +37 +28 +0 +.569 + ++Trent Dilfer +47 +39 +0 +.547 + ++Neil O'Donnell +54 +45 +0 +.545 + ++Aaron Brooks +8 +7 +0 +.533 + ++Shane Matthews +8 +7 +0 +.533 + ++Kerry Collins +43 +40 +0 +.518 + ++Peyton Manning +30 +28 +0 +.517 + ++Rodney Peete +37 +35 +0 +.514 + ++Drew Bledsoe +63 +60 +0 +.512 + ++Jon Kitna +22 +21 +0 +.512 + ++Brian Griese +17 +17 +0 +.500 + ++Jim Harbaugh +66 +74 +0 +.471 + ++Steve Beuerlein +45 +52 +0 +.464 + ++Chris Chandler +61 +71 +0 +.462 + ++Scott Mitchell +32 +39 +0 +.451 + ++Kent Graham +17 +21 +0 +.447 + ++Vinny Testaverde +76 +95 +1 +.445 + ++Jeff Garcia +16 +20 +0 +.444 + ++Gus Frerotte +25 +32 +1 +.440 + ++Tony Banks +30 +39 +0 +.435 + ++Ty Detmer +10 +13 +0 +.435 + ++Dave Brown +26 +34 +0 +.433 + ++Charlie Batch +19 +26 +0 +.422 + ++Jeff Blake +32 +45 +0 +.416 + ++Todd Collins +7 +10 +0 +.412 + ++Rob Johnson +10 +17 +0 +.370 + ++Rick Mirer +22 +38 +0 +.367 + ++Jake Plummer +22 +38 +0 +.367 + ++Trent Green +11 +19 +0 +.367 + ++Tim Couch +10 +21 +0 +.323 + ++Bobby Hoying +3 +9 +1 +.269 + ++Cade McNown +3 +12 +0 +.200 + ++Akili Smith +3 +12 +0 +.200 + ++Ryan Leaf +4 +17 +0 +.190 + ++Doug Pederson +3 +14 +0 +.176 + ++Chris Weinke +1 +9 +0 +.100 + + December 4, 2001, at 10:00 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 49cb768..5e53ba6 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -181,7 +181,7 @@ dtds = "NFLMondayNightXML.dtd", "NFLPassingLeadersXML.dtd", -- no xml "NFLPassLeadXML.dtd", - "NFLQBStartsXML.dtd", -- no dtd + "NFLQBStartsXML.dtd", "NFLReceivingLeadersXML.dtd", -- no dtd "NFLRushingLeadersXML.dtd", -- no dtd "NFLSackLeadersXML.dtd", -- no dtd @@ -421,7 +421,8 @@ sport_info_test_files = "NFLInside20XML.xml", "NFLKickoffsXML.xml", "NFLMondayNightXML.xml", - "NFLPassLeadXML.xml" + "NFLPassLeadXML.xml", + "NFLQBStartsXML.xml" ] diff --git a/test/xml/sportinfo/NFLQBStartsXML.dtd b/test/xml/sportinfo/NFLQBStartsXML.dtd new file mode 100644 index 0000000..a67b67b --- /dev/null +++ b/test/xml/sportinfo/NFLQBStartsXML.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLQBStartsXML.xml b/test/xml/sportinfo/NFLQBStartsXML.xml new file mode 100644 index 0000000..9f9798e --- /dev/null +++ b/test/xml/sportinfo/NFLQBStartsXML.xml @@ -0,0 +1,375 @@ + + + +81117 +ABX%NFL-QB-STARTS +Statistics +NFL +NFL Statistics - Starting Records of Active NFL Quarterbacks +(Minimum 10 Starts - Regular Season Only) ++Kurt Warner +29 +8 +0 +.784 + ++Jay Fiedler +18 +8 +0 +.692 + ++Shaun King +14 +7 +0 +.667 + ++Brett Favre +98 +53 +0 +.649 + ++Doug Flutie +35 +20 +0 +.636 + ++Brad Johnson +37 +23 +0 +.617 + ++Steve McNair +45 +28 +0 +.616 + ++Jim Miller +8 +5 +0 +.615 + ++Randall Cunningham +82 +52 +1 +.611 + ++Donovan McNabb +20 +13 +0 +.606 + ++Mark Rypien +47 +31 +0 +.603 + ++Kordell Stewart +38 +26 +0 +.594 + ++Donovan McNabb +20 +13 +0 +.606 + ++Rich Gannon +59 +41 +0 +.590 + ++Mark Brunell +54 +39 +0 +.581 + ++Daunte Culpepper +15 +11 +0 +.577 + ++Elvis Grbac +37 +28 +0 +.569 + ++Trent Dilfer +47 +39 +0 +.547 + ++Neil O'Donnell +54 +45 +0 +.545 + ++Aaron Brooks +8 +7 +0 +.533 + ++Shane Matthews +8 +7 +0 +.533 + ++Kerry Collins +43 +40 +0 +.518 + ++Peyton Manning +30 +28 +0 +.517 + ++Rodney Peete +37 +35 +0 +.514 + ++Drew Bledsoe +63 +60 +0 +.512 + ++Jon Kitna +22 +21 +0 +.512 + ++Brian Griese +17 +17 +0 +.500 + ++Jim Harbaugh +66 +74 +0 +.471 + ++Steve Beuerlein +45 +52 +0 +.464 + ++Chris Chandler +61 +71 +0 +.462 + ++Scott Mitchell +32 +39 +0 +.451 + ++Kent Graham +17 +21 +0 +.447 + ++Vinny Testaverde +76 +95 +1 +.445 + ++Jeff Garcia +16 +20 +0 +.444 + ++Gus Frerotte +25 +32 +1 +.440 + ++Tony Banks +30 +39 +0 +.435 + ++Ty Detmer +10 +13 +0 +.435 + ++Dave Brown +26 +34 +0 +.433 + ++Charlie Batch +19 +26 +0 +.422 + ++Jeff Blake +32 +45 +0 +.416 + ++Todd Collins +7 +10 +0 +.412 + ++Rob Johnson +10 +17 +0 +.370 + ++Rick Mirer +22 +38 +0 +.367 + ++Jake Plummer +22 +38 +0 +.367 + ++Trent Green +11 +19 +0 +.367 + ++Tim Couch +10 +21 +0 +.323 + ++Bobby Hoying +3 +9 +1 +.269 + ++Cade McNown +3 +12 +0 +.200 + ++Akili Smith +3 +12 +0 +.200 + ++Ryan Leaf +4 +17 +0 +.190 + ++Doug Pederson +3 +14 +0 +.176 + ++Chris Weinke +1 +9 +0 +.100 + + December 4, 2001, at 10:00 AM ET +