]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - test/xml/weatherxml-detailed.xml
Add support for the new Detailed_Weather elements.
[dead/htsn-import.git] / test / xml / weatherxml-detailed.xml
1 <?xml version="1.0" standalone="no" ?> <!DOCTYPE message PUBLIC "-//TSN//DTD Weather 1.0/EN" "weatherxml.dtd"> <message> <XML_File_ID>21379214</XML_File_ID> <heading>AAW%BBWEATHER</heading> <category>Weather</category> <sport>MLB</sport> <title>Major League Baseball Weather from The Sports Network</title> <forecast gamedate="Friday, July 4th"> <league name="National League"> <listing> <teams>Chicago Cubs at Washington Nationals, 11:05 a.m.</teams> <weather>Mostly cloudy. Winds blowing in from left field at 10-15 m.p.h. Game-time temperature: Around 75.</weather> </listing> <listing> <teams>Philadelphia Phillies at Pittsburgh Pirates, 5:05 p.m.</teams> <weather>Sunny. Winds blowing out to right field at 10-15 m.p.h. Game-time temperature: Near 75.</weather> </listing> <listing> <teams>San Francisco Giants at San Diego Padres, 6:40 p.m.</teams> <weather>Partly cloudy. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 75.</weather> </listing> <listing> <teams>Milwaukee Brewers at Cincinnati Reds, 7:10 p.m.</teams> <weather>Sunny. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Near 75.</weather> </listing> <listing> <teams>Miami Marlins at St. Louis Cardinals, 7:15 p.m.</teams> <weather>Sunny. Winds blowing in from right field at 5-10 m.p.h. Game-time temperature: Near 80.</weather> </listing> <listing> <teams>Arizona Diamondbacks at Atlanta Braves, 7:35 p.m.</teams> <weather>Mostly sunny. Winds blowing in from left field at 5-10 m.p.h. Game-time temperature: Around 80.</weather> </listing> <listing> <teams>Los Angeles Dodgers at Colorado Rockies, 8:10 p.m.</teams> <weather>Partly cloudy with a 30-percent chance of rain. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 80.</weather> </listing> </league> <league name="Interleague"> <listing> <teams>Texas Rangers at New York Mets, 7:10 p.m.</teams> <weather>Partly cloudy. Winds blowing in from left field at 10-20 m.p.h. Game-time temperature: Near 75.</weather> </listing> </league> <league name="American League"> <listing> <teams>Baltimore Orioles at Boston Red Sox, 1:35 p.m.</teams> <weather>Cloudy with a 90-percent chance of rain. Winds blowing in from left field at 10-15 m.p.h. Game-time temperature: Around 75.</weather> </listing> <listing> <teams>New York Yankees at Minnesota Twins, 3:10 p.m.</teams> <weather>Partly cloudy. Winds blowing in from right field at 10-15 m.p.h. Game-time temperature: Around 75.</weather> </listing> <listing> <teams>Toronto Blue Jays at Oakland Athletics, 4:05 p.m.</teams> <weather>Sunny. Winds blowing out to center field at 10-15 m.p.h. Game-time temperature: Around 65.</weather> </listing> <listing> <teams>Tampa Bay Rays at Detroit Tigers, 7:08 p.m.</teams> <weather>Sunny. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 75.</weather> </listing> <listing> <teams>Kansas City Royals at Cleveland Indians, 7:05 p.m.</teams> <weather>Sunny. Winds blowing in from left field at 5-10 m.p.h. Game-time temperature: Near 70.</weather> </listing> <listing> <teams>Seattle Mariners at Chicago White Sox, 7:10 p.m.</teams> <weather>Sunny. Winds blowing in from center field at 5-10 m.p.h. Game-time temperature: Around 60.</weather> </listing> <listing> <teams>Houston Astros at LA Angels of Anaheim, 9:05 p.m.</teams> <weather>Mostly sunny. Winds blowing out to center field at 5-10 m.p.h. Game-time temperature: Around 80.</weather> </listing> </league> </forecast> <Detailed_Weather> <DW_Listing SportCode="AA" Sport="MLB"> <Item> <Sportcode>AA</Sportcode> <GameID>40439</GameID> <Gamedate>7/4/2014 11:05:00 AM</Gamedate> <AwayTeam>Chicago Cubs</AwayTeam> <HomeTeam>Washington Nationals</HomeTeam> <WeatherType>3</WeatherType> <Description>Mostly cloudy. Winds blowing in from left field at 10-15 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40442</GameID> <Gamedate>7/4/2014 5:05:00 PM</Gamedate> <AwayTeam>Philadelphia Phillies</AwayTeam> <HomeTeam>Pittsburgh Pirates</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing out to right field at 10-15 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40445</GameID> <Gamedate>7/4/2014 6:40:00 PM</Gamedate> <AwayTeam>San Francisco Giants</AwayTeam> <HomeTeam>San Diego Padres</HomeTeam> <WeatherType>2</WeatherType> <Description>Partly cloudy. Winds blowing out to right field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40443</GameID> <Gamedate>7/4/2014 7:10:00 PM</Gamedate> <AwayTeam>Milwaukee Brewers</AwayTeam> <HomeTeam>Cincinnati Reds</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing out to right field at 5-10 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40444</GameID> <Gamedate>7/4/2014 7:15:00 PM</Gamedate> <AwayTeam>Miami Marlins</AwayTeam> <HomeTeam>St. Louis Cardinals</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing in from right field at 5-10 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>80</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40441</GameID> <Gamedate>7/4/2014 7:35:00 PM</Gamedate> <AwayTeam>Arizona Diamondbacks</AwayTeam> <HomeTeam>Atlanta Braves</HomeTeam> <WeatherType>1</WeatherType> <Description>Mostly sunny. Winds blowing in from left field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>80</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40446</GameID> <Gamedate>7/4/2014 8:10:00 PM</Gamedate> <AwayTeam>Los Angeles Dodgers</AwayTeam> <HomeTeam>Colorado Rockies</HomeTeam> <WeatherType>2</WeatherType> <Description>Partly cloudy with a 30-percent chance of rain. Winds blowing out to right field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>80</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40440</GameID> <Gamedate>7/4/2014 7:10:00 PM</Gamedate> <AwayTeam>Texas Rangers</AwayTeam> <HomeTeam>New York Mets</HomeTeam> <WeatherType>2</WeatherType> <Description>Partly cloudy. Winds blowing in from left field at 10-20 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40432</GameID> <Gamedate>7/4/2014 1:35:00 PM</Gamedate> <AwayTeam>Baltimore Orioles</AwayTeam> <HomeTeam>Boston Red Sox</HomeTeam> <WeatherType>3</WeatherType> <Description>Cloudy with a 90-percent chance of rain. Winds blowing in from left field at 10-15 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40436</GameID> <Gamedate>7/4/2014 3:10:00 PM</Gamedate> <AwayTeam>New York Yankees</AwayTeam> <HomeTeam>Minnesota Twins</HomeTeam> <WeatherType>2</WeatherType> <Description>Partly cloudy. Winds blowing in from right field at 10-15 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40437</GameID> <Gamedate>7/4/2014 4:05:00 PM</Gamedate> <AwayTeam>Toronto Blue Jays</AwayTeam> <HomeTeam>Oakland Athletics</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing out to center field at 10-15 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>65</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40434</GameID> <Gamedate>7/4/2014 7:08:00 PM</Gamedate> <AwayTeam>Tampa Bay Rays</AwayTeam> <HomeTeam>Detroit Tigers</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing out to right field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>75</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40433</GameID> <Gamedate>7/4/2014 7:05:00 PM</Gamedate> <AwayTeam>Kansas City Royals</AwayTeam> <HomeTeam>Cleveland Indians</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing in from left field at 5-10 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>70</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40435</GameID> <Gamedate>7/4/2014 7:10:00 PM</Gamedate> <AwayTeam>Seattle Mariners</AwayTeam> <HomeTeam>Chicago White Sox</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds blowing in from center field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>60</Temperature> </Item> <Item> <Sportcode>AA</Sportcode> <GameID>40438</GameID> <Gamedate>7/4/2014 9:05:00 PM</Gamedate> <AwayTeam>Houston Astros</AwayTeam> <HomeTeam>LA Angels of Anaheim</HomeTeam> <WeatherType>1</WeatherType> <Description>Mostly sunny. Winds blowing out to center field at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>80</Temperature> </Item> </DW_Listing> <DW_Listing SportCode="AB" Sport="NFL"> </DW_Listing> <DW_Listing SportCode="AJ" Sport="CFL"> <Item> <Sportcode>AJ</Sportcode> <GameID>1223</GameID> <Gamedate>7/4/2014 7:00:00 PM</Gamedate> <AwayTeam>British Columbia Lions</AwayTeam> <HomeTeam>Montreal Alouettes</HomeTeam> <WeatherType>2</WeatherType> <Description>Partly cloudy. Winds northwest at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>65</Temperature> </Item> <Item> <Sportcode>AJ</Sportcode> <GameID>1224</GameID> <Gamedate>7/4/2014 10:00:00 PM</Gamedate> <AwayTeam>Hamilton Tiger-Cats</AwayTeam> <HomeTeam>Edmonton Eskimos</HomeTeam> <WeatherType>1</WeatherType> <Description>Mostly sunny. Winds northwest at 5-10 m.p.h.</Description> <TempAdjust>Around</TempAdjust> <Temperature>70</Temperature> </Item> <Item> <Sportcode>AJ</Sportcode> <GameID>1225</GameID> <Gamedate>7/5/2014 3:00:00 PM</Gamedate> <AwayTeam>Saskatchewan Roughriders</AwayTeam> <HomeTeam>Toronto Argonauts</HomeTeam> <WeatherType>0</WeatherType> <Description>Sunny. Winds west at 5-10 m.p.h.</Description> <TempAdjust>Near</TempAdjust> <Temperature>80</Temperature> </Item> </DW_Listing> <DW_Listing SportCode="AF" Sport="CFOOT"> </DW_Listing> </Detailed_Weather> <time_stamp> July 4, 2014, at 08:53 AM ET </time_stamp> </message>