From: Michael Orlitzky Date: Wed, 31 Dec 2014 20:46:54 +0000 (-0500) Subject: Add SportInfo support for Cbask_Team_Scoring_XML.dtd. X-Git-Tag: 0.2.1~38 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8de4b2d3f0c6ca7b447f39316f8839ac575d457f;p=dead%2Fhtsn-import.git Add SportInfo support for Cbask_Team_Scoring_XML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 48b0dc7..e575ba8 100644 --- a/doc/TODO +++ b/doc/TODO @@ -8,7 +8,6 @@ which have therefore been left unimplmented for now: * CBASK_StealsXML.dtd - * Cbask_Team_Scoring_XML.dtd * Cbask_Team_Shooting_Pct_XML.dtd 4. The following DTD types were handled (in some form) by the old diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 5594ebb..36efdf8 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -746,6 +746,8 @@ CBASK_ScoringLeadersXML.dtd .IP \[bu] Cbask_Team_Scoring_Rebound_Margin_XML.dtd .IP \[bu] +Cbask_Team_Scoring_XML.dtd +.IP \[bu] Cbask_Team_ThreePT_Made_XML.dtd .IP \[bu] Cbask_Team_ThreePT_PCT_XML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 3be2ad7..bc74d28 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -40,6 +40,7 @@ extra-source-files: schemagen/CBASK_ReboundsXML/*.xml schemagen/CBASK_ScoringLeadersXML/*.xml schemagen/Cbask_Team_Scoring_Rebound_Margin_XML/*.xml + schemagen/Cbask_Team_Scoring_XML/*.xml schemagen/Cbask_Team_ThreePT_Made_XML/*.xml schemagen/Cbask_Team_ThreePT_PCT_XML/*.xml schemagen/Cbask_Team_Win_Pct_XML/*.xml diff --git a/schema/Cbask_Team_Scoring_XML.dtd b/schema/Cbask_Team_Scoring_XML.dtd new file mode 100644 index 0000000..082ec22 --- /dev/null +++ b/schema/Cbask_Team_Scoring_XML.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Team_Scoring_XML/22413985.xml b/schemagen/Cbask_Team_Scoring_XML/22413985.xml new file mode 100644 index 0000000..443dfa6 --- /dev/null +++ b/schemagen/Cbask_Team_Scoring_XML/22413985.xml @@ -0,0 +1 @@ + 22413985 AEX%NCAA-TEAM-SCORING Statistics CBASK 2014-2015 NCAA Division I Men's Basketball Team Scoring Statistics 8 761 95.1 7 651 93.0 5 455 91.0 7 633 90.4 6 540 90.0 4 355 88.8 7 616 88.0 7 612 87.4 7 604 86.3 6 517 86.2 7 601 85.9 5 427 85.4 7 597 85.3 7 590 84.3 7 585 83.6 5 417 83.4 5 417 83.4 6 495 82.5 4 330 82.5 7 575 82.1 6 491 81.8 6 488 81.3 6 488 81.3 6 488 81.3 5 405 81.0 6 484 80.7 4 322 80.5 7 561 80.1 6 479 79.8 6 475 79.2 6 475 79.2 7 553 79.0 7 553 79.0 4 315 78.8 5 392 78.4 6 470 78.3 7 548 78.3 5 391 78.2 5 391 78.2 5 391 78.2 6 469 78.2 7 547 78.1 7 546 78.0 8 623 77.9 6 467 77.8 8 620 77.5 6 464 77.3 7 541 77.3 7 539 77.0 6 462 77.0 6 462 77.0 7 538 76.9 5 384 76.8 6 460 76.7 5 383 76.6 7 536 76.6 7 533 76.1 7 533 76.1 8 609 76.1 7 532 76.0 7 532 76.0 6 456 76.0 4 304 76.0 7 531 75.9 6 454 75.7 7 528 75.4 7 528 75.4 8 603 75.4 6 450 75.0 5 375 75.0 7 524 74.9 7 524 74.9 7 524 74.9 6 449 74.8 8 598 74.8 4 299 74.8 6 448 74.7 5 373 74.6 7 522 74.6 7 521 74.4 7 521 74.4 5 372 74.4 5 372 74.4 8 594 74.3 6 445 74.2 7 518 74.0 6 443 73.8 7 516 73.7 6 442 73.7 6 442 73.7 7 515 73.6 7 515 73.6 8 588 73.5 6 441 73.5 6 441 73.5 7 513 73.3 8 586 73.3 9 659 73.2 7 511 73.0 6 438 73.0 5 364 72.8 6 436 72.7 6 436 72.7 6 436 72.7 5 363 72.6 5 363 72.6 7 508 72.6 7 507 72.4 7 507 72.4 4 289 72.3 5 361 72.2 6 433 72.2 8 577 72.1 5 360 72.0 7 503 71.9 7 503 71.9 5 359 71.8 4 287 71.8 7 502 71.7 7 502 71.7 6 430 71.7 5 358 71.6 7 501 71.6 8 572 71.5 6 429 71.5 6 429 71.5 4 286 71.5 9 643 71.4 9 643 71.4 7 500 71.4 4 285 71.3 7 497 71.0 4 284 71.0 6 425 70.8 6 425 70.8 6 424 70.7 6 424 70.7 6 424 70.7 3 212 70.7 5 353 70.6 5 353 70.6 6 422 70.3 7 492 70.3 5 351 70.2 6 421 70.2 6 421 70.2 6 421 70.2 6 421 70.2 7 490 70.0 6 419 69.8 6 419 69.8 6 419 69.8 6 419 69.8 6 419 69.8 5 349 69.8 5 349 69.8 7 488 69.7 8 556 69.5 7 486 69.4 7 486 69.4 5 347 69.4 7 485 69.3 7 485 69.3 5 346 69.2 5 346 69.2 6 415 69.2 6 415 69.2 6 415 69.2 7 484 69.1 7 484 69.1 7 483 69.0 5 345 69.0 7 482 68.9 7 482 68.9 6 412 68.7 7 480 68.6 7 480 68.6 7 479 68.4 7 479 68.4 7 479 68.4 8 547 68.4 4 273 68.3 5 341 68.2 5 341 68.2 5 341 68.2 6 409 68.2 8 545 68.1 7 476 68.0 6 408 68.0 5 340 68.0 8 543 67.9 6 406 67.7 5 338 67.6 6 405 67.5 7 472 67.4 5 337 67.4 5 337 67.4 8 539 67.4 7 471 67.3 6 403 67.2 6 403 67.2 6 403 67.2 7 470 67.1 8 537 67.1 7 469 67.0 6 402 67.0 5 335 67.0 5 335 67.0 7 468 66.9 8 533 66.6 7 466 66.6 7 466 66.6 6 399 66.5 5 332 66.4 6 398 66.3 6 398 66.3 5 331 66.2 7 463 66.1 7 463 66.1 5 330 66.0 3 198 66.0 6 395 65.8 5 329 65.8 5 329 65.8 6 394 65.7 5 328 65.6 5 328 65.6 7 459 65.6 4 262 65.5 8 523 65.4 5 326 65.2 6 391 65.2 6 390 65.0 7 454 64.9 8 518 64.8 8 518 64.8 4 259 64.8 6 388 64.7 5 323 64.6 6 387 64.5 6 387 64.5 6 386 64.3 7 450 64.3 7 450 64.3 6 385 64.2 6 385 64.2 7 448 64.0 7 448 64.0 6 384 64.0 8 511 63.9 8 511 63.9 7 447 63.9 6 383 63.8 6 383 63.8 5 319 63.8 7 445 63.6 8 508 63.5 6 381 63.5 7 444 63.4 5 317 63.4 8 507 63.4 5 316 63.2 8 505 63.1 8 504 63.0 7 441 63.0 6 378 63.0 7 440 62.9 7 438 62.6 5 312 62.4 8 499 62.4 6 374 62.3 6 374 62.3 7 436 62.3 7 436 62.3 5 311 62.2 6 373 62.2 7 435 62.1 8 497 62.1 7 434 62.0 7 434 62.0 7 434 62.0 6 372 62.0 6 371 61.8 6 371 61.8 7 432 61.7 6 370 61.7 7 431 61.6 6 368 61.3 6 368 61.3 7 429 61.3 8 490 61.3 7 428 61.1 7 426 60.9 6 365 60.8 6 365 60.8 5 304 60.8 5 304 60.8 6 364 60.7 7 424 60.6 6 363 60.5 4 241 60.3 6 361 60.2 7 420 60.0 6 360 60.0 5 300 60.0 7 418 59.7 4 238 59.5 7 416 59.4 7 416 59.4 5 297 59.4 6 356 59.3 7 415 59.3 5 296 59.2 7 414 59.1 6 354 59.0 6 354 59.0 4 236 59.0 7 412 58.9 7 412 58.9 6 352 58.7 7 410 58.6 6 351 58.5 7 409 58.4 4 233 58.3 5 291 58.2 7 405 57.9 7 403 57.6 7 403 57.6 5 285 57.0 5 284 56.8 7 396 56.6 9 509 56.6 6 338 56.3 7 391 55.9 7 391 55.9 7 391 55.9 7 390 55.7 6 333 55.5 7 384 54.9 5 273 54.6 6 318 53.0 5 261 52.2 7 351 50.1 8 380 47.5 5 225 45.0 December 3, 2014, at 03:26 PM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index f65f21b..e941cd5 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -81,6 +81,7 @@ dtds = "CBASK_ReboundsXML.dtd", "CBASK_ScoringLeadersXML.dtd", "Cbask_Team_Scoring_Rebound_Margin_XML.dtd", + "Cbask_Team_Scoring_XML.dtd", "Cbask_Team_ThreePT_Made_XML.dtd", "Cbask_Team_ThreePT_PCT_XML.dtd", "Cbask_Team_Win_Pct_XML.dtd", diff --git a/test/xml/sportinfo/Cbask_Team_Scoring_XML.dtd b/test/xml/sportinfo/Cbask_Team_Scoring_XML.dtd new file mode 100644 index 0000000..082ec22 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Scoring_XML.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Team_Scoring_XML.xml b/test/xml/sportinfo/Cbask_Team_Scoring_XML.xml new file mode 100644 index 0000000..443dfa6 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Scoring_XML.xml @@ -0,0 +1 @@ + 22413985 AEX%NCAA-TEAM-SCORING Statistics CBASK 2014-2015 NCAA Division I Men's Basketball Team Scoring Statistics 8 761 95.1 7 651 93.0 5 455 91.0 7 633 90.4 6 540 90.0 4 355 88.8 7 616 88.0 7 612 87.4 7 604 86.3 6 517 86.2 7 601 85.9 5 427 85.4 7 597 85.3 7 590 84.3 7 585 83.6 5 417 83.4 5 417 83.4 6 495 82.5 4 330 82.5 7 575 82.1 6 491 81.8 6 488 81.3 6 488 81.3 6 488 81.3 5 405 81.0 6 484 80.7 4 322 80.5 7 561 80.1 6 479 79.8 6 475 79.2 6 475 79.2 7 553 79.0 7 553 79.0 4 315 78.8 5 392 78.4 6 470 78.3 7 548 78.3 5 391 78.2 5 391 78.2 5 391 78.2 6 469 78.2 7 547 78.1 7 546 78.0 8 623 77.9 6 467 77.8 8 620 77.5 6 464 77.3 7 541 77.3 7 539 77.0 6 462 77.0 6 462 77.0 7 538 76.9 5 384 76.8 6 460 76.7 5 383 76.6 7 536 76.6 7 533 76.1 7 533 76.1 8 609 76.1 7 532 76.0 7 532 76.0 6 456 76.0 4 304 76.0 7 531 75.9 6 454 75.7 7 528 75.4 7 528 75.4 8 603 75.4 6 450 75.0 5 375 75.0 7 524 74.9 7 524 74.9 7 524 74.9 6 449 74.8 8 598 74.8 4 299 74.8 6 448 74.7 5 373 74.6 7 522 74.6 7 521 74.4 7 521 74.4 5 372 74.4 5 372 74.4 8 594 74.3 6 445 74.2 7 518 74.0 6 443 73.8 7 516 73.7 6 442 73.7 6 442 73.7 7 515 73.6 7 515 73.6 8 588 73.5 6 441 73.5 6 441 73.5 7 513 73.3 8 586 73.3 9 659 73.2 7 511 73.0 6 438 73.0 5 364 72.8 6 436 72.7 6 436 72.7 6 436 72.7 5 363 72.6 5 363 72.6 7 508 72.6 7 507 72.4 7 507 72.4 4 289 72.3 5 361 72.2 6 433 72.2 8 577 72.1 5 360 72.0 7 503 71.9 7 503 71.9 5 359 71.8 4 287 71.8 7 502 71.7 7 502 71.7 6 430 71.7 5 358 71.6 7 501 71.6 8 572 71.5 6 429 71.5 6 429 71.5 4 286 71.5 9 643 71.4 9 643 71.4 7 500 71.4 4 285 71.3 7 497 71.0 4 284 71.0 6 425 70.8 6 425 70.8 6 424 70.7 6 424 70.7 6 424 70.7 3 212 70.7 5 353 70.6 5 353 70.6 6 422 70.3 7 492 70.3 5 351 70.2 6 421 70.2 6 421 70.2 6 421 70.2 6 421 70.2 7 490 70.0 6 419 69.8 6 419 69.8 6 419 69.8 6 419 69.8 6 419 69.8 5 349 69.8 5 349 69.8 7 488 69.7 8 556 69.5 7 486 69.4 7 486 69.4 5 347 69.4 7 485 69.3 7 485 69.3 5 346 69.2 5 346 69.2 6 415 69.2 6 415 69.2 6 415 69.2 7 484 69.1 7 484 69.1 7 483 69.0 5 345 69.0 7 482 68.9 7 482 68.9 6 412 68.7 7 480 68.6 7 480 68.6 7 479 68.4 7 479 68.4 7 479 68.4 8 547 68.4 4 273 68.3 5 341 68.2 5 341 68.2 5 341 68.2 6 409 68.2 8 545 68.1 7 476 68.0 6 408 68.0 5 340 68.0 8 543 67.9 6 406 67.7 5 338 67.6 6 405 67.5 7 472 67.4 5 337 67.4 5 337 67.4 8 539 67.4 7 471 67.3 6 403 67.2 6 403 67.2 6 403 67.2 7 470 67.1 8 537 67.1 7 469 67.0 6 402 67.0 5 335 67.0 5 335 67.0 7 468 66.9 8 533 66.6 7 466 66.6 7 466 66.6 6 399 66.5 5 332 66.4 6 398 66.3 6 398 66.3 5 331 66.2 7 463 66.1 7 463 66.1 5 330 66.0 3 198 66.0 6 395 65.8 5 329 65.8 5 329 65.8 6 394 65.7 5 328 65.6 5 328 65.6 7 459 65.6 4 262 65.5 8 523 65.4 5 326 65.2 6 391 65.2 6 390 65.0 7 454 64.9 8 518 64.8 8 518 64.8 4 259 64.8 6 388 64.7 5 323 64.6 6 387 64.5 6 387 64.5 6 386 64.3 7 450 64.3 7 450 64.3 6 385 64.2 6 385 64.2 7 448 64.0 7 448 64.0 6 384 64.0 8 511 63.9 8 511 63.9 7 447 63.9 6 383 63.8 6 383 63.8 5 319 63.8 7 445 63.6 8 508 63.5 6 381 63.5 7 444 63.4 5 317 63.4 8 507 63.4 5 316 63.2 8 505 63.1 8 504 63.0 7 441 63.0 6 378 63.0 7 440 62.9 7 438 62.6 5 312 62.4 8 499 62.4 6 374 62.3 6 374 62.3 7 436 62.3 7 436 62.3 5 311 62.2 6 373 62.2 7 435 62.1 8 497 62.1 7 434 62.0 7 434 62.0 7 434 62.0 6 372 62.0 6 371 61.8 6 371 61.8 7 432 61.7 6 370 61.7 7 431 61.6 6 368 61.3 6 368 61.3 7 429 61.3 8 490 61.3 7 428 61.1 7 426 60.9 6 365 60.8 6 365 60.8 5 304 60.8 5 304 60.8 6 364 60.7 7 424 60.6 6 363 60.5 4 241 60.3 6 361 60.2 7 420 60.0 6 360 60.0 5 300 60.0 7 418 59.7 4 238 59.5 7 416 59.4 7 416 59.4 5 297 59.4 6 356 59.3 7 415 59.3 5 296 59.2 7 414 59.1 6 354 59.0 6 354 59.0 4 236 59.0 7 412 58.9 7 412 58.9 6 352 58.7 7 410 58.6 6 351 58.5 7 409 58.4 4 233 58.3 5 291 58.2 7 405 57.9 7 403 57.6 7 403 57.6 5 285 57.0 5 284 56.8 7 396 56.6 9 509 56.6 6 338 56.3 7 391 55.9 7 391 55.9 7 391 55.9 7 390 55.7 6 333 55.5 7 384 54.9 5 273 54.6 6 318 53.0 5 261 52.2 7 351 50.1 8 380 47.5 5 225 45.0 December 3, 2014, at 03:26 PM ET \ No newline at end of file