CSCI E-153
Web Development Using XML
Harvard Extension School 2009
Table of Contents
|
All-in-One
|
Link List
|
Lecture Notes Home
|
CSCI E-153 Home
<<< previous
| Slide 10 |
next >>>
Presidential Election 2008
Red = McCain
Blue = Obama
Click on a map to view a larger image
Red/Blue Map
Purple Map
Massachusetts Cities and Towns
How they were made
Massachusetts SVG Map
GIS data (non-XML) from
MassGIS
XML Document Object Model (DOM)
Scalable Vector Graphics (SVG)
Massachusetts SVG Map
Election Data into XML
Boston.com HTML Page
XSLT/XPath to extract data from HTML table
Results Data XML
XSLT and XPath to merge vote data into SVG map as colors
Apache Batik to convert SVG to PNG/JPEG.
Table of Contents
|
All-in-One
|
Link List
|
Lecture Notes Home
|
CSCI E-153 Home
<<< previous
| Slide 10 |
next >>>
Copyright © 2002-2009 David P. Heitmeyer