]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - doc/man1/htsn-import.1
07e8c32240a8710bdabf5c60bb2f1223bccde95e
[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 Another problem that comes up occasionally is that the home and away
312 team elements appear in the reverse order. As in the other case, we
313 report these as unsupported and then \(dqsucceed\(dq so that the
314 offending document can be removed if desired. An example is provided
315 as test/xml/weatherxml-backwards-teams.xml.
316
317 .SH DEPLOYMENT
318 .P
319 When deploying for the first time, the target database will most
320 likely be empty. The schema will be migrated when a new document type
321 is seen, but this has a downside: it can be months before every
322 supported document type has been seen once. This can make it difficult
323 to test the database permissions.
324 .P
325 Since all of the test XML documents have old timestamps, one easy
326 workaround is the following: simply import all of the test XML
327 documents, and then delete them using whatever script is used to prune
328 old entries. This will force the migration of the schema, after which
329 you can set and test the database permissions.
330 .P
331 Something as simple as,
332 .P
333 .nf
334 .I $ find ./test/xml -iname '*.xml' | xargs htsn-import -c foo.sqlite
335 .fi
336 .P
337 should do it.
338
339 .SH OPTIONS
340
341 .IP \fB\-\-backend\fR,\ \fB\-b\fR
342 The RDBMS backend to use. Valid choices are \fISqlite\fR and
343 \fIPostgres\fR. Capitalization is important, sorry.
344
345 Default: Sqlite
346
347 .IP \fB\-\-connection-string\fR,\ \fB\-c\fR
348 The connection string used for connecting to the database backend
349 given by the \fB\-\-backend\fR option. The default is appropriate for
350 the \fISqlite\fR backend.
351
352 Default: \(dq:memory:\(dq
353
354 .IP \fB\-\-log-file\fR
355 If you specify a file here, logs will be written to it (possibly in
356 addition to syslog). Can be either a relative or absolute path. It
357 will not be auto-rotated; use something like logrotate for that.
358
359 Default: none
360
361 .IP \fB\-\-log-level\fR
362 How verbose should the logs be? We log notifications at four levels:
363 DEBUG, INFO, WARN, and ERROR. Specify the \(dqmost boring\(dq level of
364 notifications you would like to receive (in all-caps); more
365 interesting notifications will be logged as well. The debug output is
366 extremely verbose and will not be written to syslog even if you try.
367
368 Default: INFO
369
370 .IP \fB\-\-remove\fR,\ \fB\-r\fR
371 Remove successfully processed files. If you enable this, you can see
372 at a glance which XML files are not being processed, because they're
373 all that should be left.
374
375 Default: disabled
376
377 .IP \fB\-\-syslog\fR,\ \fB\-s\fR
378 Enable logging to syslog. On Windows this will attempt to communicate
379 (over UDP) with a syslog daemon on localhost, which will most likely
380 not work.
381
382 Default: disabled
383
384 .SH CONFIGURATION FILE
385 .P
386 Any of the command-line options mentioned above can be specified in a
387 configuration file instead. We first look for \(dqhtsn-importrc\(dq in
388 the system configuration directory. We then look for a file named
389 \(dq.htsn-importrc\(dq in the user's home directory. The latter will
390 override the former.
391 .P
392 The user's home directory is simply $HOME on Unix; on Windows it's
393 wherever %APPDATA% points. The system configuration directory is
394 determined by Cabal; the \(dqsysconfdir\(dq parameter during the
395 \(dqconfigure\(dq step is used.
396 .P
397 The file's syntax is given by examples in the htsn-importrc.example file
398 (included with \fBhtsn-import\fR).
399 .P
400 Options specified on the command-line override those in either
401 configuration file.
402
403 .SH EXAMPLES
404 .IP \[bu] 2
405 Import newsxml.xml into a preexisting sqlite database named \(dqfoo.sqlite3\(dq:
406
407 .nf
408 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
409 .I " test/xml/newsxml.xml"
410 Successfully imported test/xml/newsxml.xml.
411 Imported 1 document(s) total.
412 .fi
413 .IP \[bu]
414 Repeat the previous example, but delete newsxml.xml afterwards:
415
416 .nf
417 .I $ htsn-import --connection-string='foo.sqlite3' \\\\
418 .I " --remove test/xml/newsxml.xml"
419 Successfully imported test/xml/newsxml.xml.
420 Imported 1 document(s) total.
421 Removed processed file test/xml/newsxml.xml.
422 .fi
423 .IP \[bu]
424 Use a Postgres database instead of the default Sqlite. This assumes
425 that you have a database named \(dqhtsn\(dq accessible to user
426 \(dqpostgres\(dq locally:
427
428 .nf
429 .I $ htsn-import --connection-string='dbname=htsn user=postgres' \\\\
430 .I " --backend=Postgres test/xml/newsxml.xml"
431 Successfully imported test/xml/newsxml.xml.
432 Imported 1 document(s) total.
433 .fi
434
435 .SH BUGS
436
437 .P
438 Send bugs to michael@orlitzky.com.
439
440 .SH APPENDIX: SUPPORTED DOCUMENT TYPES
441 .P
442 The XML document types obtained from the feed are uniquely identified
443 by their DTDs. We currently support documents with the following DTDs:
444 .IP \[bu] 2
445 AutoRacingResultsXML.dtd
446 .IP \[bu]
447 Auto_Racing_Schedule_XML.dtd
448 .IP \[bu]
449 Heartbeat.dtd
450 .IP \[bu]
451 Injuries_Detail_XML.dtd
452 .IP \[bu]
453 injuriesxml.dtd
454 .IP \[bu]
455 jfilexml.dtd
456 .IP \[bu]
457 newsxml.dtd
458 .IP \[bu]
459 Odds_XML.dtd
460 .IP \[bu]
461 Schedule_Changes_XML.dtd
462 .IP \[bu]
463 scoresxml.dtd
464 .IP \[bu]
465 weatherxml.dtd
466 .IP \[bu]
467 GameInfo
468 .RS
469 .IP \[bu] 2
470 CBASK_Lineup_XML.dtd
471 .IP \[bu]
472 cbaskpreviewxml.dtd
473 .IP \[bu]
474 cflpreviewxml.dtd
475 .IP \[bu]
476 Matchup_NBA_NHL_XML.dtd
477 .IP \[bu]
478 MLB_Fielding_XML.dtd
479 .IP \[bu]
480 MLB_Gaming_Matchup_XML.dtd
481 .IP \[bu]
482 MLB_Lineup_XML.dtd
483 .IP \[bu]
484 MLB_Matchup_XML.dtd
485 .IP \[bu]
486 MLS_Preview_XML.dtd
487 .IP \[bu]
488 mlbpreviewxml.dtd
489 .IP \[bu]
490 NBA_Gaming_Matchup_XML.dtd
491 .IP \[bu]
492 NBA_Playoff_Matchup_XML.dtd
493 .IP \[bu]
494 NBALineupXML.dtd
495 .IP \[bu]
496 nbapreviewxml.dtd
497 .IP \[bu]
498 NCAA_FB_Preview_XML.dtd
499 .IP \[bu]
500 NFL_NCAA_FB_Matchup_XML.dtd
501 .IP \[bu]
502 nflpreviewxml.dtd
503 .IP \[bu]
504 nhlpreviewxml.dtd
505 .IP \[bu]
506 recapxml.dtd
507 .IP \[bu]
508 WorldBaseballPreviewXML.dtd
509 .RE
510 .IP \[bu]
511 SportInfo
512 .RS
513 .IP \[bu] 2
514 CBASK_3PPctXML.dtd
515 .IP \[bu]
516 Cbask_All_Tourn_Teams_XML.dtd
517 .IP \[bu]
518 CBASK_AssistsXML.dtd
519 .IP \[bu]
520 Cbask_Awards_XML.dtd
521 .IP \[bu]
522 CBASK_BlocksXML.dtd
523 .IP \[bu]
524 Cbask_Conf_Standings_XML.dtd
525 .IP \[bu]
526 Cbask_DivII_III_Indv_Stats_XML.dtd
527 .IP \[bu]
528 Cbask_DivII_Team_Stats_XML.dtd
529 .IP \[bu]
530 Cbask_DivIII_Team_Stats_XML.dtd
531 .IP \[bu]
532 CBASK_FGPctXML.dtd
533 .IP \[bu]
534 CBASK_FoulsXML.dtd
535 .IP \[bu]
536 CBASK_FTPctXML.dtd
537 .IP \[bu]
538 Cbask_Indv_Scoring_XML.dtd
539 .IP \[bu]
540 CBASK_MinutesXML.dtd
541 .IP \[bu]
542 Cbask_Polls_XML.dtd
543 .IP \[bu]
544 CBASK_ReboundsXML.dtd
545 .IP \[bu]
546 CBASK_ScoringLeadersXML.dtd
547 .IP \[bu]
548 Cbask_Team_ThreePT_Made_XML.dtd
549 .IP \[bu]
550 Cbask_Team_ThreePT_PCT_XML.dtd
551 .IP \[bu]
552 Cbask_Team_Win_Pct_XML.dtd
553 .IP \[bu]
554 Cbask_Top_Twenty_Five_XML.dtd
555 .IP \[bu]
556 CBASK_TopTwentyFiveResult_XML.dtd
557 .IP \[bu]
558 Cbask_Tourn_Awards_XML.dtd
559 .IP \[bu]
560 Cbask_Tourn_Champs_XML.dtd
561 .IP \[bu]
562 Cbask_Tourn_Indiv_XML.dtd
563 .IP \[bu]
564 Cbask_Tourn_Leaders_XML.dtd
565 .IP \[bu]
566 Cbask_Tourn_MVP_XML.dtd
567 .IP \[bu]
568 Cbask_Tourn_Records_XML.dtd
569 .IP \[bu]
570 LeagueScheduleXML.dtd
571 .IP \[bu]
572 minorscoresxml.dtd
573 .IP \[bu]
574 Minor_Baseball_League_Leaders_XML.dtd
575 .IP \[bu]
576 Minor_Baseball_Standings_XML.dtd
577 .IP \[bu]
578 Minor_Baseball_Transactions_XML.dtd
579 .IP \[bu]
580 mlbbattingavgxml.dtd
581 .IP \[bu]
582 mlbdoublesleadersxml.dtd
583 .IP \[bu]
584 MLBGamesPlayedXML.dtd
585 .IP \[bu]
586 MLBGIDPXML.dtd
587 .IP \[bu]
588 MLBHitByPitchXML.dtd
589 .IP \[bu]
590 mlbhitsleadersxml.dtd
591 .IP \[bu]
592 mlbhomerunsxml.dtd
593 .IP \[bu]
594 MLBHRFreqXML.dtd
595 .IP \[bu]
596 MLBIntWalksXML.dtd
597 .IP \[bu]
598 MLBKORateXML.dtd
599 .IP \[bu]
600 mlbonbasepctxml.dtd
601 .IP \[bu]
602 MLBOPSXML.dtd
603 .IP \[bu]
604 MLBPlateAppsXML.dtd
605 .IP \[bu]
606 mlbrbisxml.dtd
607 .IP \[bu]
608 mlbrunsleadersxml.dtd
609 .IP \[bu]
610 MLBSacFliesXML.dtd
611 .IP \[bu]
612 MLBSacrificesXML.dtd
613 .IP \[bu]
614 MLBSBSuccessXML.dtd
615 .IP \[bu]
616 mlbsluggingpctxml.dtd
617 .IP \[bu]
618 mlbstandxml.dtd
619 .IP \[bu]
620 mlbstandxml_preseason.dtd
621 .IP \[bu]
622 mlbstolenbasexml.dtd
623 .IP \[bu]
624 mlbtotalbasesleadersxml.dtd
625 .IP \[bu]
626 mlbtriplesleadersxml.dtd
627 .IP \[bu]
628 MLBWalkRateXML.dtd
629 .IP \[bu]
630 mlbwalksleadersxml.dtd
631 .IP \[bu]
632 MLBXtraBaseHitsXML.dtd
633 .IP \[bu]
634 MLB_Pitching_Appearances_Leaders.dtd
635 .IP \[bu]
636 MLB_ERA_Leaders.dtd
637 .IP \[bu]
638 MLB_Pitching_Balks_Leaders.dtd
639 .IP \[bu]
640 MLB_Pitching_CG_Leaders.dtd
641 .IP \[bu]
642 MLB_Pitching_ER_Allowed_Leaders.dtd
643 .IP \[bu]
644 MLB_Pitching_Hits_Allowed_Leaders.dtd
645 .IP \[bu]
646 MLB_Pitching_Hit_Batters_Leaders.dtd
647 .IP \[bu]
648 MLB_Pitching_HR_Allowed_Leaders.dtd
649 .IP \[bu]
650 MLB_Pitching_IP_Leaders.dtd
651 .IP \[bu]
652 MLB_Pitching_Runs_Allowed_Leaders.dtd
653 .IP \[bu]
654 MLB_Pitching_Saves_Leaders.dtd
655 .IP \[bu]
656 MLB_Pitching_Shut_Outs_Leaders.dtd
657 .IP \[bu]
658 MLB_Pitching_Starts_Leaders.dtd
659 .IP \[bu]
660 MLB_Pitching_Strike_Outs_Leaders.dtd
661 .IP \[bu]
662 MLB_Pitching_Walks_Leaders.dtd
663 .IP \[bu]
664 MLB_Pitching_WHIP_Leaders.dtd
665 .IP \[bu]
666 MLB_Pitching_Wild_Pitches_Leaders.dtd
667 .IP \[bu]
668 MLB_Pitching_Win_Percentage_Leaders.dtd
669 .IP \[bu]
670 MLB_Pitching_WL_Leaders.dtd
671 .IP \[bu]
672 NBA_Team_Stats_XML.dtd
673 .IP \[bu]
674 NBA3PPctXML.dtd
675 .IP \[bu]
676 NBAAssistsXML.dtd
677 .IP \[bu]
678 NBABlocksXML.dtd
679 .IP \[bu]
680 nbaconfrecxml.dtd
681 .IP \[bu]
682 nbadaysxml.dtd
683 .IP \[bu]
684 nbadivisionsxml.dtd
685 .IP \[bu]
686 NBAFGPctXML.dtd
687 .IP \[bu]
688 NBAFoulsXML.dtd
689 .IP \[bu]
690 NBAFTPctXML.dtd
691 .IP \[bu]
692 NBAMinutesXML.dtd
693 .IP \[bu]
694 NBAReboundsXML.dtd
695 .IP \[bu]
696 NBAScorersXML.dtd
697 .IP \[bu]
698 nbastandxml.dtd
699 .IP \[bu]
700 NBAStealsXML.dtd
701 .IP \[bu]
702 nbateamleadersxml.dtd
703 .IP \[bu]
704 nbatripledoublexml.dtd
705 .IP \[bu]
706 NBATurnoversXML.dtd
707 .IP \[bu]
708 NCAA_Conference_Schedule_XML.dtd
709 .IP \[bu]
710 nflfirstdownxml.dtd
711 .IP \[bu]
712 NFLFumbleLeaderXML.dtd
713 .IP \[bu]
714 NFLGiveTakeXML.dtd
715 .IP \[bu]
716 NFLInside20XML.dtd
717 .IP \[bu]
718 NFLKickoffsXML.dtd
719 .IP \[bu]
720 NFLMondayNightXML.dtd
721 .IP \[bu]
722 NFLPassLeadXML.dtd
723 .IP \[bu]
724 NFLQBStartsXML.dtd
725 .IP \[bu]
726 NFLSackLeadersXML.dtd
727 .IP \[bu]
728 nflstandxml.dtd
729 .IP \[bu]
730 NFLTeamRankingsXML.dtd
731 .IP \[bu]
732 NFLTopPerformanceXML.dtd
733 .IP \[bu]
734 NFLTotalYardageXML.dtd
735 .IP \[bu]
736 NFL_KickingLeaders_XML.dtd
737 .IP \[bu]
738 NFL_NBA_Draft_XML.dtd
739 .IP \[bu]
740 NFL_Roster_XML.dtd
741 .IP \[bu]
742 NFL_Team_Stats_XML.dtd
743 .IP \[bu]
744 Transactions_XML.dtd
745 .IP \[bu]
746 Weekly_Sched_XML.dtd
747 .IP \[bu]
748 WNBA_Team_Leaders_XML.dtd
749 .IP \[bu]
750 WNBA3PPctXML.dtd
751 .IP \[bu]
752 WNBAAssistsXML.dtd
753 .IP \[bu]
754 WNBABlocksXML.dtd
755 .IP \[bu]
756 WNBAFGPctXML.dtd
757 .IP \[bu]
758 WNBAFoulsXML.dtd
759 .IP \[bu]
760 WNBAFTPctXML.dtd
761 .IP \[bu]
762 WNBAMinutesXML.dtd
763 .IP \[bu]
764 WNBAReboundsXML.dtd
765 .IP \[bu]
766 WNBAScorersXML.dtd
767 .IP \[bu]
768 wnbastandxml.dtd
769 .IP \[bu]
770 WNBAStealsXML.dtd
771 .IP \[bu]
772 WNBATurnoversXML.dtd
773 .RE