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