]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - doc/man1/htsn-import.1
47ca0d10d33a022d98d2bd78ad5d988dd8eeb209
[dead/htsn-import.git] / doc / man1 / htsn-import.1
1 .TH htsn-import 1
2
3 .SH NAME
4 htsn-import \- Import XML files from The Sports Network into an RDBMS.
5
6 .SH SYNOPSIS
7
8 \fBhtsn-import\fR [OPTIONS] [FILES]
9
10 .SH DESCRIPTION
11 .P
12 The Sports Network <http://www.sportsnetwork.com/> offers an XML feed
13 containing various sports news and statistics. Our sister program
14 \fBhtsn\fR is capable of retrieving the feed and saving the individual
15 XML documents contained therein. But what to do with them?
16 .P
17 The purpose of \fBhtsn-import\fR is to take these XML documents and
18 get them into something we can use, a relational database management
19 system (RDBMS), otherwise known as a SQL database. The structure of
20 relational database, is, well, relational, and the feed XML is not. So
21 there is some work to do before the data can be imported into the
22 database.
23 .P
24 First, we must parse the XML. Each supported document type (see below)
25 has a full pickle/unpickle implementation (\(dqpickle\(dq is simply a
26 synonym for \(dqserialize\(dq here). That means that we parse the
27 entire document into a data structure, and if we pickle (serialize)
28 that data structure, we get the exact same XML document tha we started
29 with.
30 .P
31 This is important for two reasons. First, it serves as a second level
32 of validation. The first validation is performed by the XML parser,
33 but if that succeeds and unpicking fails, we know that something is
34 fishy. Second, we don't ever want to be surprised by some new element
35 or attribute showing up in the XML. The fact that we can unpickle the
36 whole thing now means that we won't be surprised in the future.
37 .P
38 The aforementioned feature is especially important because we
39 automatically migrate the database schema every time we import a
40 document. If you attempt to import a \(dqnewsxml.dtd\(dq document, all
41 database objects relating to the news will be created if they do not
42 exist. We don't want the schema to change out from under us without
43 warning, so it's important that no XML be parsed that would result in
44 a different schema than we had previously. Since we can
45 pickle/unpickle everything already, this should be impossible.
46 .P
47 A list of supported document types is given in the appendix.
48 .P
49 The GameInfo and SportInfo types do not have their own top-level
50 tables in the database. Instead, their raw XML is stored in either the
51 \(dqgame_info\(dq or \(dqsport_info\(dq table respectively.
52
53 .SH DATABASE SCHEMA
54 .P
55 At the top level (with two notable exceptions), we have one table for
56 each of the XML document types that we import. For example, the
57 documents corresponding to \fInewsxml.dtd\fR will have a table called
58 \(dqnews\(dq. All top-level tables contain two important fields,
59 \(dqxml_file_id\(dq and \(dqtime_stamp\(dq. The former is unique and
60 prevents us from inserting the same data twice. The time stamp on the
61 other hand lets us know when the data is old and can be removed. The
62 database schema make it possible to delete only the outdated top-level
63 records; all transient children should be removed by triggers.
64 .P
65 These top-level tables will often have children. For example, each
66 news item has zero or more locations associated with it. The child
67 table will be named <parent>_<children>, which in this case
68 corresponds to \(dqnews_locations\(dq.
69 .P
70 To relate the two, a third table may exist with name
71 <parent>__<child>. Note the two underscores. This prevents ambiguity
72 when the child table itself contains underscores. The table joining
73 \(dqnews\(dq with \(dqnews_locations\(dq is thus called
74 \(dqnews__news_locations\(dq. This is necessary when the child table
75 has a unique constraint; we don't want to blindly insert duplicate
76 records keyed to the parent. Instead we'd like to use the third table
77 to map an existing child to the new parent.
78 .P
79 Where it makes sense, children are kept unique to prevent pointless
80 duplication. This slows down inserts, and speeds up reads (which are
81 much more frequent). There is a tradeoff to be made, however. For a
82 table with a small, fixed upper bound on the number of rows (like
83 \(dqodds_casinos\(dq), there is great benefit to de-duplication. The
84 total number of rows stays small, so inserts are still quick, and many
85 duplicate rows are eliminated.
86 .P
87 But, with a table like \(dqodds_games\(dq, the number of games grows
88 quickly and without bound. It is therefore more beneficial to be able
89 to delete the old games (through an ON DELETE CASCADE, tied to
90 \(dqodds\(dq) than it is to eliminate duplication. A table like
91 \(dqnews_locations\(dq is somewhere in-between. It is hoped that the
92 unique constraint in the top-level table's \(dqxml_file_id\(dq will
93 prevent duplication in this case anyway.
94 .P
95 The aforementioned exceptions are the \(dqgame_info\(dq and
96 \(dqsport_info\(dq tables. These tables contain the raw XML for a
97 number of DTDs that are not handled individually. This is partially
98 for backwards-compatibility with a legacy implementation, but is
99 mostly a stopgap due to a lack of resources at the moment. These two
100 tables (game_info and sport_info) still possess timestamps that allow
101 us to prune old data.
102 .P
103 UML diagrams of the resulting database schema for each XML document
104 type are provided with the \fBhtsn-import\fR documentation, in the
105 \fIdoc/dbschema\fR directory. These are not authoritative, but it
106 should be considered a bug if they are incorrect. The diagrams are
107 created using the pgModeler <http://www.pgmodeler.com.br/> tool.
108
109 .SH NULL POLICY
110 .P
111 Normally in a database one makes a distinction between fields that
112 simply don't exist, and those fields that are
113 \(dqempty\(dq. Translating from XML, there is a natural way to
114 determine which one should be used: if an element is present in the
115 XML document but its contents are empty, then an empty string should
116 be inserted into the corresponding field. If on the other hand the
117 element is missing entirely, the corresponding database entry should
118 be NULL to indicate that fact.
119 .P
120 This sounds well and good, but the XML must be consistent for the
121 database consumer to make any sense of what he sees. The feed XML uses
122 optional and blank elements interchangeably, and without any
123 discernable pattern. To propagate this pattern into the database would
124 only cause confusion.
125 .P
126 As a result, a policy was adopted: both optional elements and elements
127 whose contents can be empty will be considered nullable in the
128 database. If the element is missing, the corresponding field is
129 NULL. Likewise if the content is simply missing. That means there
130 should never be a (completely) empty string in a database column.
131
132 .SH XML SCHEMA GENERATION
133 .P
134 In order to parse XML, you need to know the structure of your
135 documents. Usually this is given in the form of a DTD or schema. The
136 Sports Network does provide DTDs for their XML, but unfortunately many
137 of them do not match the XML found on the feed.
138 .P
139 We need to construct a database into which to insert the XML. How do
140 we know if <game> should be a column, or if it should have its own
141 table? We need to know how many times it can appear in the
142 document. So we need some form of specification. Since the supplied
143 DTDs are incorrect, we would like to generate them automatically.
144 .P
145 The process should go something like,
146 .IP 1.
147 Generate a DTD from the first foo.xml file we see. Call it foo.dtd.
148 .IP 2.
149 Validate future foo documents against foo.dtd. If they all validate,
150 great. If one fails, add it to the corpus and update foo.dtd so
151 that both the original and the new foo.xml validate.
152 .IP 3.
153 Repeat until no more failures occur. This can never be perfect:
154 tomorrow we could get a foo.xml that's wildly different from what
155 we've seen in the past. But it's the best we can hope for under
156 the circumstances.
157 .P
158 Enter XML-Schema-learner
159 <https://github.com/kore/XML-Schema-learner>. This tool can infer a
160 DTD from a set of sample XML files. The top-level \(dqschemagen\(dq
161 folder (in this project) contains a number of subfolders\(emone for
162 each type of document that we want to parse. Contained therein are XML
163 samples for that particular document type. These were hand-picked one
164 at a time according to the procedure above, and the complete set of
165 XML is what we use to generate the DTDs used by htsn-import.
166 .P
167 To generate them, run `make schema` at the project
168 root. XML-Schema-learner will be invoked on each subfolder of
169 \(dqschemagen\(dq and will output the corresponding DTDs to the
170 \(dqschemagen\(dq folder.
171 .P
172 Most of the production schemas are generated this way; however, a few
173 needed manual tweaking. The final, believed-to-be-correct schemas for
174 all supported document types can be found in the \(dqschema\(dq folder in
175 the project root. Having the correct DTDs available means you
176 don't need XML-Schema-learner available to install \fBhtsn-import\fR.
177
178 .SH XML SCHEMA UPDATES
179 .P
180 If a new tag is added to an XML document type, \fBhtsn-import\fR will
181 most likely refuse to parse it, since the new documents no longer
182 match the existing DTD.
183 .P
184 The first thing to do in that case is add the unparseable document to
185 the \(dqschemagen\(dq directory, and generate a new DTD that matches
186 both the old and new samples. Once a new, correct DTD has been
187 generated, it should be added to the \(dqschema\(dq directory. Then,
188 the parser can be updated and \fBhtsn-import\fR rebuilt.
189 .P
190 At this point, \fBhtsn-import\fR should be capable of importing the
191 new document. But the addition of the new tag will most require new
192 fields in the database. Fortunately, easy migrations like this are
193 handled automatically. As an example, at one point, \fIOdds_XML.dtd\fR
194 did not contain the \(dqHStarter\(dq and \(dqAStarter\(dq elements
195 associated with its games. Suppose we parse one of the old documents
196 (without \(dqHStarter\(dq and \(dqAStarter\(dq) using an old version
197 of \fBhtsn-import\fR:
198 .P
199 .nf
200 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
201 .I " schemagen/Odds_XML/19996433.xml"
202 Migration: CREATE TABLE \(dqodds\(dq ...
203 Successfully imported schemagen/Odds_XML/19996433.xml.
204 Processed 1 document(s) total.
205 .fi
206 .P
207 At this point, the database schema matches the old documents, i.e. the
208 ones without \fIAStarter\fR and \fIHStarter\fR. If we use a new
209 version of \fBhtsn-import\fR, supporting the new fields, the migration
210 is handled gracefully:
211 .P
212 .nf
213 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
214 .I " schemagen/Odds_XML/21315768.xml"
215 Migration: ALTER TABLE \(dqodds_games\(dq
216 ADD COLUMN \(dqaway_team_starter_id\(dq INTEGER;
217 Migration: ALTER TABLE \(dqodds_games\(dq
218 ADD COLUMN \(dqaway_team_starter_name\(dq VARCHAR;
219 Migration: ALTER TABLE \(dqodds_games\(dq
220 ADD COLUMN \(dqhome_team_starter_id\(dq INTEGER;
221 Migration: ALTER TABLE \(dqodds_games\(dq
222 ADD COLUMN \(dqhome_team_starter_name\(dq VARCHAR;
223 Successfully imported schemagen/Odds_XML/21315768.xml.
224 Processed 1 document(s) total.
225 .fi
226 .P
227 If fields are removed from the schema, then manual intervention may be
228 necessary:
229 .P
230 .nf
231 .I $ htsn-import -b Postgres -c 'dbname=htsn user=postgres' \\\\
232 .I " schemagen/Odds_XML/19996433.xml"
233 ERROR: Database migration: manual intervention required.
234 The following actions are considered unsafe:
235 ALTER TABLE \(dqodds_games\(dq DROP COLUMN \(dqaway_team_starter_id\(dq
236 ALTER TABLE \(dqodds_games\(dq DROP COLUMN \(dqaway_team_starter_name\(dq
237 ALTER TABLE \(dqodds_games\(dq DROP COLUMN \(dqhome_team_starter_id\(dq
238 ALTER TABLE \(dqodds_games\(dq DROP COLUMN \(dqhome_team_starter_name\(dq
239
240 ERROR: Failed to import file schemagen/Odds_XML/19996433.xml.
241 Processed 0 document(s) total.
242 .fi
243 .P
244 To fix these errors, manually invoke the SQL commands that were
245 considered unsafe:
246 .P
247 .nf
248 .I $ psql -U postgres -d htsn \\\\
249 .I " -c 'ALTER TABLE odds_games DROP COLUMN away_team_starter_id;'"
250 ALTER TABLE
251 .I $ psql -U postgres -d htsn \\\\
252 .I " -c 'ALTER TABLE odds_games DROP COLUMN away_team_starter_name;'"
253 ALTER TABLE
254 .I $ psql -U postgres -d htsn \\\\
255 .I " -c 'ALTER TABLE odds_games DROP COLUMN home_team_starter_id;'"
256 ALTER TABLE
257 .I $ psql -U postgres -d htsn \\\\
258 .I " -c 'ALTER TABLE odds_games DROP COLUMN home_team_starter_name;'"
259 ALTER TABLE
260 .fi
261 .P
262 After manually adjusting the schema, the import should succeed.
263
264 .SH XML SCHEMA ODDITIES
265 .P
266 There are a number of problems with the XML on the wire. Even if we
267 construct the DTDs ourselves, the results are sometimes
268 inconsistent. Here we document a few of them.
269
270 .IP \[bu] 2
271 \fInewsxml.dtd\fR
272
273 The TSN DTD for news (and almost all XML on the wire) suggests that
274 there is a exactly one (possibly-empty) <SMS> element present in each
275 message. However, we have seen an example (XML_File_ID 21232353) where
276 an empty <SMS> followed a non-empty one:
277
278 .fi
279 <SMS>Odd Man Rush: Snow under pressure to improve Isles quickly</SMS>
280 <SMS></SMS>
281 .nf
282
283 We don't parse this case at the moment.
284
285 .IP \[bu]
286 \fIOdds_XML.dtd\fR
287
288 The <Notes> elements here are supposed to be associated with a set of
289 <Game> elements, but since the pair
290 (<Notes>...</Notes><Game>...</Game>) can appear zero or more times,
291 this leads to ambiguity in parsing. We therefore ignore the notes
292 entirely (although a hack is employed to facilitate parsing). The same
293 thing goes for the newer <League_Name> element.
294
295 .IP \[bu]
296 \fIweatherxml.dtd\fR
297
298 There appear to be two types of weather documents; the first has
299 <listing> contained within <forecast> and the second has <forecast>
300 contained within <listing>. While it would be possible to parse both,
301 it would greatly complicate things. The first form is more common, so
302 that's all we support for now. An example is provided as
303 test/xml/weatherxml-type2.xml.
304
305 We are however able to identify the second type. When one is
306 encountered, an informational message (that it is unsupported) will be
307 printed. If the \fI\-\-remove\fR flag is used, the file will be
308 deleted. This prevents documents that we know we can't import from
309 building up.
310
311 .SH DEPLOYMENT
312 .P
313 When deploying for the first time, the target database will most
314 likely be empty. The schema will be migrated when a new document type
315 is seen, but this has a downside: it can be months before every
316 supported document type has been seen once. This can make it difficult
317 to test the database permissions.
318 .P
319 Since all of the test XML documents have old timestamps, one easy
320 workaround is the following: simply import all of the test XML
321 documents, and then delete them using whatever script is used to prune
322 old entries. This will force the migration of the schema, after which
323 you can set and test the database permissions.
324 .P
325 Something as simple as,
326 .P
327 .nf
328 .I $ find ./test/xml -iname '*.xml' | xargs htsn-import -c foo.sqlite
329 .fi
330 .P
331 should do it.
332
333 .SH OPTIONS
334
335 .IP \fB\-\-backend\fR,\ \fB\-b\fR
336 The RDBMS backend to use. Valid choices are \fISqlite\fR and
337 \fIPostgres\fR. Capitalization is important, sorry.
338
339 Default: Sqlite
340
341 .IP \fB\-\-connection-string\fR,\ \fB\-c\fR
342 The connection string used for connecting to the database backend
343 given by the \fB\-\-backend\fR option. The default is appropriate for
344 the \fISqlite\fR backend.
345
346 Default: \(dq:memory:\(dq
347
348 .IP \fB\-\-log-file\fR
349 If you specify a file here, logs will be written to it (possibly in
350 addition to syslog). Can be either a relative or absolute path. It
351 will not be auto-rotated; use something like logrotate for that.
352
353 Default: none
354
355 .IP \fB\-\-log-level\fR
356 How verbose should the logs be? We log notifications at four levels:
357 DEBUG, INFO, WARN, and ERROR. Specify the \(dqmost boring\(dq level of
358 notifications you would like to receive (in all-caps); more
359 interesting notifications will be logged as well. The debug output is
360 extremely verbose and will not be written to syslog even if you try.
361
362 Default: INFO
363
364 .IP \fB\-\-remove\fR,\ \fB\-r\fR
365 Remove successfully processed files. If you enable this, you can see
366 at a glance which XML files are not being processed, because they're
367 all that should be left.
368
369 Default: disabled
370
371 .IP \fB\-\-syslog\fR,\ \fB\-s\fR
372 Enable logging to syslog. On Windows this will attempt to communicate
373 (over UDP) with a syslog daemon on localhost, which will most likely
374 not work.
375
376 Default: disabled
377
378 .SH CONFIGURATION FILE
379 .P
380 Any of the command-line options mentioned above can be specified in a
381 configuration file instead. We first look for \(dqhtsn-importrc\(dq in
382 the system configuration directory. We then look for a file named
383 \(dq.htsn-importrc\(dq in the user's home directory. The latter will
384 override the former.
385 .P
386 The user's home directory is simply $HOME on Unix; on Windows it's
387 wherever %APPDATA% points. The system configuration directory is
388 determined by Cabal; the \(dqsysconfdir\(dq parameter during the
389 \(dqconfigure\(dq step is used.
390 .P
391 The file's syntax is given by examples in the htsn-importrc.example file
392 (included with \fBhtsn-import\fR).
393 .P
394 Options specified on the command-line override those in either
395 configuration file.
396
397 .SH EXAMPLES
398 .IP \[bu] 2
399 Import newsxml.xml into a preexisting sqlite database named \(dqfoo.sqlite3\(dq:
400
401 .nf
402 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
403 .I " test/xml/newsxml.xml"
404 Successfully imported test/xml/newsxml.xml.
405 Imported 1 document(s) total.
406 .fi
407 .IP \[bu]
408 Repeat the previous example, but delete newsxml.xml afterwards:
409
410 .nf
411 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
412 .I " --remove test/xml/newsxml.xml"
413 Successfully imported test/xml/newsxml.xml.
414 Imported 1 document(s) total.
415 Removed processed file test/xml/newsxml.xml.
416 .fi
417 .IP \[bu]
418 Use a Postgres database instead of the default Sqlite. This assumes
419 that you have a database named \(dqhtsn\(dq accessible to user
420 \(dqpostgres\(dq locally:
421
422 .nf
423 .I $ htsn-import --connection-string='dbname=htsn user=postgres' \\\\
424 .I " --backend=Postgres test/xml/newsxml.xml"
425 Successfully imported test/xml/newsxml.xml.
426 Imported 1 document(s) total.
427 .fi
428
429 .SH BUGS
430
431 .P
432 Send bugs to michael@orlitzky.com.
433
434 .SH APPENDIX: SUPPORTED DOCUMENT TYPES
435 .P
436 The XML document types obtained from the feed are uniquely identified
437 by their DTDs. We currently support documents with the following DTDs:
438 .IP \[bu] 2
439 AutoRacingResultsXML.dtd
440 .IP \[bu]
441 Auto_Racing_Schedule_XML.dtd
442 .IP \[bu]
443 Heartbeat.dtd
444 .IP \[bu]
445 Injuries_Detail_XML.dtd
446 .IP \[bu]
447 injuriesxml.dtd
448 .IP \[bu]
449 jfilexml.dtd
450 .IP \[bu]
451 newsxml.dtd
452 .IP \[bu]
453 Odds_XML.dtd
454 .IP \[bu]
455 Schedule_Changes_XML.dtd
456 .IP \[bu]
457 scoresxml.dtd
458 .IP \[bu]
459 weatherxml.dtd
460 .IP \[bu]
461 GameInfo
462 .RS
463 .IP \[bu] 2
464 CBASK_Lineup_XML.dtd
465 .IP \[bu]
466 cbaskpreviewxml.dtd
467 .IP \[bu]
468 cflpreviewxml.dtd
469 .IP \[bu]
470 Matchup_NBA_NHL_XML.dtd
471 .IP \[bu]
472 MLB_Fielding_XML.dtd
473 .IP \[bu]
474 MLB_Gaming_Matchup_XML.dtd
475 .IP \[bu]
476 MLB_Lineup_XML.dtd
477 .IP \[bu]
478 MLB_Matchup_XML.dtd
479 .IP \[bu]
480 MLS_Preview_XML.dtd
481 .IP \[bu]
482 mlbpreviewxml.dtd
483 .IP \[bu]
484 NBA_Gaming_Matchup_XML.dtd
485 .IP \[bu]
486 NBA_Playoff_Matchup_XML.dtd
487 .IP \[bu]
488 NBALineupXML.dtd
489 .IP \[bu]
490 nbapreviewxml.dtd
491 .IP \[bu]
492 NCAA_FB_Preview_XML.dtd
493 .IP \[bu]
494 NFL_NCAA_FB_Matchup_XML.dtd
495 .IP \[bu]
496 nflpreviewxml.dtd
497 .IP \[bu]
498 nhlpreviewxml.dtd
499 .IP \[bu]
500 recapxml.dtd
501 .IP \[bu]
502 WorldBaseballPreviewXML.dtd
503 .RE
504 .IP \[bu]
505 SportInfo
506 .RS
507 .IP \[bu] 2
508 CBASK_3PPctXML.dtd
509 .IP \[bu]
510 Cbask_All_Tourn_Teams_XML.dtd
511 .IP \[bu]
512 CBASK_AssistsXML.dtd
513 .IP \[bu]
514 Cbask_Awards_XML.dtd
515 .IP \[bu]
516 CBASK_BlocksXML.dtd
517 .IP \[bu]
518 Cbask_Conf_Standings_XML.dtd
519 .IP \[bu]
520 Cbask_DivII_III_Indv_Stats_XML.dtd
521 .IP \[bu]
522 Cbask_DivII_Team_Stats_XML.dtd
523 .IP \[bu]
524 Cbask_DivIII_Team_Stats_XML.dtd
525 .IP \[bu]
526 CBASK_FGPctXML.dtd
527 .IP \[bu]
528 CBASK_FoulsXML.dtd
529 .IP \[bu]
530 CBASK_FTPctXML.dtd
531 .IP \[bu]
532 Cbask_Indv_Scoring_XML.dtd
533 .IP \[bu]
534 CBASK_MinutesXML.dtd
535 .IP \[bu]
536 Cbask_Polls_XML.dtd
537 .IP \[bu]
538 CBASK_ReboundsXML.dtd
539 .IP \[bu]
540 CBASK_ScoringLeadersXML.dtd
541 .IP \[bu]
542 Cbask_Team_ThreePT_Made_XML.dtd
543 .IP \[bu]
544 Cbask_Team_ThreePT_PCT_XML.dtd
545 .IP \[bu]
546 Cbask_Team_Win_Pct_XML.dtd
547 .IP \[bu]
548 Cbask_Top_Twenty_Five_XML.dtd
549 .IP \[bu]
550 CBASK_TopTwentyFiveResult_XML.dtd
551 .IP \[bu]
552 Cbask_Tourn_Awards_XML.dtd
553 .IP \[bu]
554 Cbask_Tourn_Champs_XML.dtd
555 .IP \[bu]
556 Cbask_Tourn_Indiv_XML.dtd
557 .IP \[bu]
558 Cbask_Tourn_Leaders_XML.dtd
559 .IP \[bu]
560 Cbask_Tourn_MVP_XML.dtd
561 .IP \[bu]
562 Cbask_Tourn_Records_XML.dtd
563 .IP \[bu]
564 LeagueScheduleXML.dtd
565 .IP \[bu]
566 minorscoresxml.dtd
567 .IP \[bu]
568 Minor_Baseball_League_Leaders_XML.dtd
569 .IP \[bu]
570 Minor_Baseball_Standings_XML.dtd
571 .IP \[bu]
572 Minor_Baseball_Transactions_XML.dtd
573 .IP \[bu]
574 mlbbattingavgxml.dtd
575 .IP \[bu]
576 mlbdoublesleadersxml.dtd
577 .IP \[bu]
578 MLBGamesPlayedXML.dtd
579 .IP \[bu]
580 MLBGIDPXML.dtd
581 .IP \[bu]
582 MLBHitByPitchXML.dtd
583 .IP \[bu]
584 mlbhitsleadersxml.dtd
585 .IP \[bu]
586 mlbhomerunsxml.dtd
587 .IP \[bu]
588 MLBHRFreqXML.dtd
589 .IP \[bu]
590 MLBIntWalksXML.dtd
591 .IP \[bu]
592 MLBKORateXML.dtd
593 .IP \[bu]
594 mlbonbasepctxml.dtd
595 .IP \[bu]
596 MLBOPSXML.dtd
597 .IP \[bu]
598 MLBPlateAppsXML.dtd
599 .IP \[bu]
600 mlbrbisxml.dtd
601 .IP \[bu]
602 mlbrunsleadersxml.dtd
603 .IP \[bu]
604 MLBSacFliesXML.dtd
605 .IP \[bu]
606 MLBSacrificesXML.dtd
607 .IP \[bu]
608 MLBSBSuccessXML.dtd
609 .IP \[bu]
610 mlbsluggingpctxml.dtd
611 .IP \[bu]
612 mlbstandxml.dtd
613 .IP \[bu]
614 mlbstandxml_preseason.dtd
615 .IP \[bu]
616 mlbstolenbasexml.dtd
617 .IP \[bu]
618 mlbtotalbasesleadersxml.dtd
619 .IP \[bu]
620 mlbtriplesleadersxml.dtd
621 .IP \[bu]
622 MLBWalkRateXML.dtd
623 .IP \[bu]
624 mlbwalksleadersxml.dtd
625 .IP \[bu]
626 MLBXtraBaseHitsXML.dtd
627 .IP \[bu]
628 MLB_Pitching_Appearances_Leaders.dtd
629 .IP \[bu]
630 MLB_ERA_Leaders.dtd
631 .IP \[bu]
632 MLB_Pitching_Balks_Leaders.dtd
633 .IP \[bu]
634 MLB_Pitching_CG_Leaders.dtd
635 .IP \[bu]
636 MLB_Pitching_ER_Allowed_Leaders.dtd
637 .IP \[bu]
638 MLB_Pitching_Hits_Allowed_Leaders.dtd
639 .IP \[bu]
640 MLB_Pitching_Hit_Batters_Leaders.dtd
641 .IP \[bu]
642 MLB_Pitching_HR_Allowed_Leaders.dtd
643 .IP \[bu]
644 MLB_Pitching_IP_Leaders.dtd
645 .IP \[bu]
646 MLB_Pitching_Runs_Allowed_Leaders.dtd
647 .IP \[bu]
648 MLB_Pitching_Saves_Leaders.dtd
649 .IP \[bu]
650 MLB_Pitching_Shut_Outs_Leaders.dtd
651 .IP \[bu]
652 MLB_Pitching_Starts_Leaders.dtd
653 .IP \[bu]
654 MLB_Pitching_Strike_Outs_Leaders.dtd
655 .IP \[bu]
656 MLB_Pitching_Walks_Leaders.dtd
657 .IP \[bu]
658 MLB_Pitching_WHIP_Leaders.dtd
659 .IP \[bu]
660 MLB_Pitching_Wild_Pitches_Leaders.dtd
661 .IP \[bu]
662 MLB_Pitching_Win_Percentage_Leaders.dtd
663 .IP \[bu]
664 MLB_Pitching_WL_Leaders.dtd
665 .IP \[bu]
666 NBA_Team_Stats_XML.dtd
667 .IP \[bu]
668 NBA3PPctXML.dtd
669 .IP \[bu]
670 NBAAssistsXML.dtd
671 .IP \[bu]
672 NBABlocksXML.dtd
673 .IP \[bu]
674 nbaconfrecxml.dtd
675 .IP \[bu]
676 nbadaysxml.dtd
677 .IP \[bu]
678 nbadivisionsxml.dtd
679 .IP \[bu]
680 NBAFGPctXML.dtd
681 .IP \[bu]
682 NBAFoulsXML.dtd
683 .IP \[bu]
684 NBAFTPctXML.dtd
685 .IP \[bu]
686 NBAMinutesXML.dtd
687 .IP \[bu]
688 NBAReboundsXML.dtd
689 .IP \[bu]
690 NBAScorersXML.dtd
691 .IP \[bu]
692 nbastandxml.dtd
693 .IP \[bu]
694 NBAStealsXML.dtd
695 .IP \[bu]
696 nbateamleadersxml.dtd
697 .IP \[bu]
698 nbatripledoublexml.dtd
699 .IP \[bu]
700 NBATurnoversXML.dtd
701 .IP \[bu]
702 NCAA_Conference_Schedule_XML.dtd
703 .IP \[bu]
704 nflfirstdownxml.dtd
705 .IP \[bu]
706 NFLFumbleLeaderXML.dtd
707 .IP \[bu]
708 NFLGiveTakeXML.dtd
709 .IP \[bu]
710 NFLInside20XML.dtd
711 .IP \[bu]
712 NFLKickoffsXML.dtd
713 .IP \[bu]
714 NFLMondayNightXML.dtd
715 .IP \[bu]
716 NFLPassLeadXML.dtd
717 .IP \[bu]
718 NFLQBStartsXML.dtd
719 .IP \[bu]
720 NFLSackLeadersXML.dtd
721 .IP \[bu]
722 nflstandxml.dtd
723 .IP \[bu]
724 NFLTeamRankingsXML.dtd
725 .IP \[bu]
726 NFLTopPerformanceXML.dtd
727 .IP \[bu]
728 NFLTotalYardageXML.dtd
729 .IP \[bu]
730 NFL_KickingLeaders_XML.dtd
731 .IP \[bu]
732 NFL_NBA_Draft_XML.dtd
733 .IP \[bu]
734 NFL_Roster_XML.dtd
735 .IP \[bu]
736 NFL_Team_Stats_XML.dtd
737 .IP \[bu]
738 Transactions_XML.dtd
739 .IP \[bu]
740 Weekly_Sched_XML.dtd
741 .IP \[bu]
742 WNBA_Team_Leaders_XML.dtd
743 .IP \[bu]
744 WNBA3PPctXML.dtd
745 .IP \[bu]
746 WNBAAssistsXML.dtd
747 .IP \[bu]
748 WNBABlocksXML.dtd
749 .IP \[bu]
750 WNBAFGPctXML.dtd
751 .IP \[bu]
752 WNBAFoulsXML.dtd
753 .IP \[bu]
754 WNBAFTPctXML.dtd
755 .IP \[bu]
756 WNBAMinutesXML.dtd
757 .IP \[bu]
758 WNBAReboundsXML.dtd
759 .IP \[bu]
760 WNBAScorersXML.dtd
761 .IP \[bu]
762 wnbastandxml.dtd
763 .IP \[bu]
764 WNBAStealsXML.dtd
765 .IP \[bu]
766 WNBATurnoversXML.dtd
767 .RE