Documentation for SportsML/Tennis

Version: 0.5
Creator: IPTC
PublicId: -//IPTC//SportsML DTD 0.7//EN

Description

SportsML Plug-in for Tennis.

Root elements

Element index

action-tennis-other A custom action.
action-tennis-point Can be recorded whenever a point is won.
all-specific-elements A placeholder, to help isolate sport-specific elements.
event-actions-tennis A holder for actions taking place in a tennis match.
event-metadata-tennis Metadata about the specific tennis match.
player-metadata-tennis Holds metadata specific to a tennis player.
player-stats-tennis Holds tennis-specific stats. Used for singles matches.
stats-tennis-game Holds the score of a game.
stats-tennis-set Holds the score of a set.
team-metadata-tennis A placeholder for event metadata specific for tennis.
team-stats-tennis Holds tennis-specific stats. Used for doubles matches.
tournament-metadata-tennis For holding metadata having to do with a tennis tournament.

Element descriptions

action-tennis-other

A custom action. For use when none of the pre-build actions apply.

Attributes

Name Description
Type (Declaration) Default
action-source The name of the controlled-vocabulary for the action-type attribute.
CDATA (#IMPLIED )
action-type A selection from a controlled-vocabulary list maintained by the publisher.
CDATA (#IMPLIED )
comment Textual comment about the action.
CDATA (#IMPLIED )
game An integer, generally 1 through 7.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
receiver-idref A pointer to the player who received the served ball on this point.
IDREF (#IMPLIED )
receiver-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
serve-number Identifying either the first or second serve.
['first', 'second'] (#IMPLIED )
server-idref A pointer to the player who served the ball on this point.
IDREF (#IMPLIED )
server-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
set An integer, 1,2,3,4,5.
CDATA (#IMPLIED )

Parents

event-actions-tennis

Content model

EMPTY

action-tennis-point

Can be recorded whenever a point is won. Includes an identifier for how that point was one.

Attributes

Name Description
Type (Declaration) Default
game An integer, generally 1 through 7.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
receiver-idref A pointer to the player who received the served ball on this point.
IDREF (#IMPLIED )
receiver-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
serve-number Identifying either the first or second serve.
['first', 'second'] (#IMPLIED )
server-idref A pointer to the player who served the ball on this point.
IDREF (#IMPLIED )
server-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
set An integer, 1,2,3,4,5.
CDATA (#IMPLIED )
win-type (Controlled vocabulary.)
CDATA (#IMPLIED )
winner-idref A pointer to the player or team (for doubles) who won the point.
IDREF (#IMPLIED )

Parents

event-actions-tennis

Content model

EMPTY

all-specific-elements

A placeholder, to help isolate sport-specific elements. Just helps the documentation. Not part of SportsML.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

Must appear as the root element.

Content model

(event-metadata-tennis , event-actions-tennis , team-metadata-tennis , team-stats-tennis , player-metadata-tennis , player-stats-tennis , tournament-metadata-tennis)

event-actions-tennis

A holder for actions taking place in a tennis match. Either a tennis point, or a custom action.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

(action-tennis-point | action-tennis-other)*

event-metadata-tennis

Metadata about the specific tennis match. When in the match this document was issued.

Attributes

Name Description
Type (Declaration) Default
game An integer, generally 1 through 7.
CDATA (#IMPLIED )
id An XML-specific identifier for the element.
ID (#IMPLIED )
receiver-idref A pointer to the player who received the served ball on this point.
IDREF (#IMPLIED )
receiver-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
serve-number Identifying either the first or second serve.
['first', 'second'] (#IMPLIED )
server-idref A pointer to the player who served the ball on this point.
IDREF (#IMPLIED )
server-score Either love, 15, 30, 40, game.
['love', '15', '30', '40', 'game'] (#IMPLIED )
set An integer, 1,2,3,4,5.
CDATA (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

player-metadata-tennis

Holds metadata specific to a tennis player. Reserved for future use.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

player-stats-tennis

Holds tennis-specific stats. Used for singles matches. Generally having to do with the score of the match.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

(stats-tennis-set*)

stats-tennis-game

Holds the score of a game. Also holds details of each point.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
score Either love, 15, 30, 40, or game.
['love', '15', '30', '40', 'game'] (#IMPLIED )

Parents

stats-tennis-set

Content model

EMPTY

stats-tennis-set

Holds the score of a set. Includes an attribute for a set's tiebreaker score.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
score Either love, 15, 30, 40, game.
CDATA (#IMPLIED )
score-tiebreaker An integer. Generally 0 through 7.
CDATA (#IMPLIED )
set-number An integer, generally 1 through 7.
CDATA (#IMPLIED )

Parents

player-stats-tennis team-stats-tennis

Content model

(stats-tennis-game*)

team-metadata-tennis

A placeholder for event metadata specific for tennis. Reserved for future use.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY

team-stats-tennis

Holds tennis-specific stats. Used for doubles matches. Generally having to do with the score of the match.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )

Parents

all-specific-elements

Content model

(stats-tennis-set*)

tournament-metadata-tennis

For holding metadata having to do with a tennis tournament. Includes an attribute for the name of the tennis tour.

Attributes

Name Description
Type (Declaration) Default
id An XML-specific identifier for the element.
ID (#IMPLIED )
tour-name The name of the tour.
CDATA (#IMPLIED )

Parents

all-specific-elements

Content model

EMPTY
Produced by dtddoc.py, using xmlproc.