Note: I pasted the code the attachments as plain text after the message (I
wasn't able to post it with an attachment...)
Attached are the XSL and XML files that I am having problems with. I am
trying to extract the stock information after having downloaded the HTML and
converted to XML (well-formed HTML) using XSL and XPATH and am unable. I am
basing what I have done so far off of
http://www-106.ibm.com/developerwork...brary/wa-wbdm/ .
My question is how do I get the table containing the quote information, as
the line provided by the above link <xsl:template
match="table[starts-with(normalize-space(.),'Appar Temp')]"> does not appear
to do the trick. When I run the transformation with the attched files, the
output is:
<RESULT><StockQ uote/></RESULT>
Any help is appreciated.
Thanks
Michael
-------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:output version="1.0" indent="yes" encoding="UTF-8"
omit-xml-declaration="no " method="xml"/>
<xsl:template match="/html">
<RESULT>
<StockQuote>
<xsl:apply-templates/>
</StockQuote>
</RESULT>
</xsl:template>
<xsl:template match="text()"> </xsl:template>
<xsl:template match="table[starts-with(normalize-space(.),'Last Trade')]">
<Price>
<xsl:value-of select="tr[2]/td[3]/font/b"/>
</Price>
</xsl:template>
</xsl:stylesheet>
-------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<html>
<head>
<meta content="HTML Tidy, see www.w3.org" name="generator "/>
<title>
Yahoo! Finance - MSFT
</title>
</head>
<body>
<center>
<table border="0" width="100%">
<tr>
<td width="99%">
<table border="0" width="100%">
<tr>
<td width="1%">
<a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=0/SIG=10tol75ke/*http://finance.yahoo.c om/?u">
<img alt="Yahoo! Finance" border="0" height="31"
src="http://us.i1.yimg.com/us.yimg.com/i/fi/main4.gif" width="281"/></a>
</td>
<td align="right" valign="middle" >
<font face="arial" size="-1"><a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=1/SIG=10tm51ntr/*http://finance.yahoo.c om/li">
Search</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=2/SIG=10tol75ke/*http://finance.yahoo.c om/?u">
Finance Home</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=3/SIG=10mgpruen/*http://www.yahoo.com">
Yahoo!</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=4/SIG=111olt5k2/*http://help.yahoo.com/help/fin/">
Help</a></font>
<hr noshade="noshad e" size="1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<font face="arial" size="-1">Tuesday, June 24 2003 4:40pm ET
- U.S. Markets Closed.</font>
<table border="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="dcdcdc ">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0"
width="100%">
<tr>
<td>
<font face="arial"><b >Welcome</b></font>
<font face="arial" size="-1">[<b><a
href="http://login.yahoo.com/config/login?.src=quot e&.intl=us& amp;.done=
http://finance.yahoo.c om/%3fu">
Sign In</a></b>]</font>
</td>
<td align="right">
<font face="arial" size="-1"><nobr>To track
stocks & more,</nobr> <nobr><a
href="http://edit.yahoo.com/config/eval_register?. src=quote&. intl=us&
;.done=http://finance.yahoo.c om/%3fu">
<b>Register</b></a></nobr></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
<td bgcolor="white" valign="top">
<font face="arial" size="-1"><b>Premiu m:</b>
<nobr><b>FREE trial</b><img alt="[new]" border="0"
height="11" src="http://us.i1.yimg.com/us.yimg.com/i/new2.gif" width="28"/>
of <a
href="http://us.rd.yahoo.com/finance/rtq/navloggedout/evt=440/*http://billin
g.finance.yahoo .com/ym/f/FinanceReal1?.s rc=quote&.r efer=nb">
Streaming Real-Time Quotes, Charts, and
Screener</a></nobr> | <b>Free:</b> <a
href="http://us.rd.yahoo.com/finance/billpay/navbox/*http://bills.yahoo.com "[color=blue]
>[/color]
Pay bills</a> - <a
href="http://us.rd.yahoo.com/finance/ft_navbox/*http://finance.yahoo.com/fun
dstransfer">
Transfer funds</a> - <a
href="https://finance.secure. yahoo.com/box?u">Money
Manager</a> <nobr>[ <a
href="http://login.yahoo.com/config/login?.src=quot e&.intl=us& amp;.done=
http://finance.yahoo.c om/%3fu">
Register/Sign In</a> ]</nobr></font><br/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr bgcolor="6699cc ">
<td>
<font face="arial" size="+1"><b><a id="fv"
name="fv">Quote s</a></b></font>
</td>
<td align="right">
<table bgcolor="#dcdcd c" border="0" cellpadding="2" >
<tr>
<td>
<a
href="http://edit.finance.dc x.yahoo.com/e0?.intl=us& ;.done=http://finance
..yahoo.com/q%3fd%3dv1%26s% 3dMSFT">
<font face="arial" size="-1">Customize
Finance</font></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table bgcolor="BFCEDE " border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="4" cellspacing="0" >
<tr>
<td>
<form action="/q">
<table>
<tr>
<td align="center" nowrap="nowrap" >
<font face="arial" size="2">Enter
symbol(s)</font> <input name="s"
size="15"/><select name="d">
<option selected="selec ted" value="v1">
Basic
</option>
<option value="v2">
DayWatch
</option>
<option value="v3">
Performance
</option>
<option value="e">
Real-time Mkt
</option>
<option value="t">
Detailed
</option>
<option value="c">
Chart
</option>
<option value="r">
Research
</option>
<option value="o">
Options
</option>
<option value="f8">
Order Book
</option>
</select><input type="submit" value=" Get "/> <a
href="/l"><font face="arial" size="2">Symbol
Lookup</font></a>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table border="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<table border="0" cellpadding="3" cellspacing="0" >
<tr valign="top">
<td align="center">
<table border="0" cellpadding="18 " cellspacing="1" >
<tr>
<td align="center">
<a
href="http://rd.yahoo.com/M=234802.281846 6.4671011.15516 42/D=fin/S=83072156:
NE4/A=1608956/R=0/SIG=11hocr9ef/*http://www.scottrade.com/index.asp?supbid=1
7481">
<img alt="$7 TRADES!" border="0" height="60"
src="http://us.a1.yimg.com/us.yimg.com/a/sc/scottrade/yahoo39.gif"
width="105"/></a>
</td>
<td align="center">
<a
href="http://rd.yahoo.com/M=247463.341359 9.4695733.15516 42/D=fin/S=83072156:
NE4/A=1562490/R=0/SIG=13e9nh152/*http://ad.doubleclick.net/clk;5507200;78940
71;g?http://www.ameritrade. com/o.cgi?a=hjq& ;o=roi&p=/offer/30.html">
<img alt="Special Ameritrade Offer" border="0"
height="60"
src="http://us.a1.yimg.com/us.yimg.com/a/am/ameritrade/043003_am_but_b e_x50_
x_105x60_01.gif " width="105"/>
</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<font face="arial" size="-1"><b>Views: </b>
<a
href="/q?s=MSFT&d= v1"><big><b>Bas ic</b></big></a>
<a
href="http://edit.finance.dc x.yahoo.com/e9?.intl=us& ;.vk=v1&.do ne=htt
p://finance.yahoo.c om/q%3fs%3dMSFT&am p;.src=quote">
[edit]</a> - <a
href="/q?s=MSFT&d= v2">DayWatch</a> - <a
href="/q?s=MSFT&d= v3">Performance </a> -
<a href="/q?s=MSFT&d= e">Real-time
Mkt</a> - <a href="/q?s=MSFT&d= t">Detailed</a> -
<nobr>[<a
href="http://edit.finance.dc x.yahoo.com/e9?.intl=us& ;.done=http://finance
..yahoo.com/q%3fs%3dMSFT&am p;.src=quote&am p;.cmd=t&.v k=v1">
Create New View</a>]</nobr></font>
</td>
</tr>
</table>
<table align="center" bgcolor="black" border="0"
cellspacing="1" >
<tr bgcolor="ffffcc ">
<td align="center">
<table cellpadding="4" cellspacing="0" >
<tr>
<td>
<b><font face="arial" size="-1"> We're
redesigning our
quote pages. <a
href="http://beta.finance.ya hoo.com/q?d=v1&s=MS FT">
Preview the New
Design</a>. </font></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table>
<tr>
<td align="center" colspan="2">
<table bgcolor="cccccc " border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="4"
cellspacing="1" width="100%">
<tr bgcolor="dcdcdc ">
<th nowrap="nowrap" >
<font face="arial"
size="-1">Symbol</font>
</th>
<th colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">Last
Trade</font>
</th>
<th colspan="2" nowrap="nowrap" >
<font face="arial"
size="-1">Change</font>
</th>
<th nowrap="nowrap" >
<font face="arial"
size="-1">Volume</font>
</th>
</tr>
<tr align="right" bgcolor="white" >
<td align="left" nowrap="nowrap" >
<a href="/q?s=MSFT&d= t"><font
face="arial" size="-1">MSFT</font></a>
</td>
<td align="center" nowrap="nowrap" >
<font face="arial"
size="-1">4:00pm</font>
</td>
<td nowrap="nowrap" >
<font face="arial"
size="-1"><b>25.70</b></font>
</td>
<td nowrap="nowrap" >
<font face="arial" size="-1"><font
color="ff0020">-0.08</font></font>
</td>
<td nowrap="nowrap" >
<font face="arial" size="-1"><font
color="ff0020">-0.31%</font></font>
</td>
<td nowrap="nowrap" >
<font face="arial"
size="-1">51,303,95 6</font>
</td>
</tr>
<tr bgcolor="white" >
<td align="center" colspan="6"
nowrap="nowrap" >
<font face="arial" size="-1"><a
href="/q?s=msft&d= c">Chart</a>,
<a
href="http://biz.yahoo.com/fin/l/m/msft.html">
Financials</a>, <a
href="http://table.finance.y ahoo.com/k?s=msft&g= d">
Historical Prices</a>, <a
href="http://biz.yahoo.com/ic/m/msft.html">
Industry</a>, <a
href="http://biz.yahoo.com/t/m/msft.html">
Insider</a>, <a
href="http://messages.yahoo. com/?action=q&b oard=MSFT">
Messages</a>, <a
href="http://biz.yahoo.com/n/m/msft.html">
News</a><br/>
<a href="/q?s=msft&d= o">Options</a>,
<a
href="http://biz.yahoo.com/p/m/msft.html">
Profile</a>, <a
href="http://us.rd.yahoo.com/finance/moreinfo/reports/*http://screen.yahoo.c
om/d?vw=0&db=r eports&z=da t&tk=msft ">
Reports</a>, <a
href="http://biz.yahoo.com/z/a/m/msft.html">
Research</a>, <a
href="http://biz.yahoo.com/e/l/m/msft.html">
SEC Filings</a>, <a
href="/i?s=msft"><b>mo re...</b></a></font>
</td>
</tr>
<tr>
<td align="center" bgcolor="ffffee "
colspan="6">
<font face="arial" size="-1">Track
investment
activity in detail with a <a
href="http://rd.yahoo.com/M=149204.218569 7.4135015.14006 45/D=fin/S=83072156:
NS/A=1144526/R=0/SIG=11kgusvr8/*http://edit.finance.yahoo.com/x0?.done=pf&am
p;.intl=us">
transaction
portfolio</a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<font face="arial" size="-1"><a
href="http://rd.yahoo.com/finance/addtomy/*http://edit.finance.dcx.yahoo.com
/ec?.src=quote&a mp;.intl=us& ;.done=http://finance.yahoo.c om/&.cancel P
age=http://finance.yahoo.c om/q?d%3dv1%26s%3d MSFT&.sym=M SFT">
Add to My Portfolio</a> - <a
href="http://alerts.yahoo.co m/config/edit_notificati on?.t=q&.s= e&.do
ne=http://finance.yahoo.c om/q?d%3dv1%26s%3d MSFT&.pf=MS FT">
Set Alert</a></font>
</td>
<td align="right">
<a
href="/d/quotes.csv?s=MS FT&f=sl1d1t 1c1ohgv&e=. csv">
<font face="arial" size="-1">Download
Spreadsheet</font></a>
</td>
</tr>
</table>
<table>
<tr>
<td align="center">
<font face="arial" size="-1">Select a
Symbol for a detailed quote. Quotes delayed
15 minutes for Nasdaq, 20 minutes for NYSE
and AMEX. For delay times on other
exchanges see <a href="/sd">exchange
table</a>. Quote data provided by <a
href="http://us.rd.yahoo.com/finance/reuters/SIG=pd7i95/*http://www.reuters.
com">
Reuters</a>.<br/>
<b>Get a <a
href="http://us.rd.yahoo.com/finance/rtq/quote_results/evt=441/*http://billi
ng.finance.yaho o.com/ym/f/FinanceReal1?.s rc=quote&.r efer=quote">
Free trial</a><img alt="[new]" border="0"
height="11" src="http://us.i1.yimg.com/us.yimg.com/i/new2.gif" width="28"/>
of streaming real-time
quotes, charts, and screener from NYSE,
AMEX, and Nasdaq.</b></font>
</td>
</tr>
</table>
<br/>
<table border="0" cellpadding="4" cellspacing="0"
width="100%">
<tr bgcolor="6699cc ">
<td>
<font face="arial"><b ><big>Recent
News</big></b></font>
</td>
<td align="right">
<table bgcolor="dcdcdc " border="0" cellpadding="2" >
<tr>
<td>
<a
href="http://login.yahoo.com/config/login?.intl=us& amp;.src=quote& amp;.done=
http://finance.yahoo.c om/q%3fd%3dv1%26s% 3dMSFT">
<font face="arial" size="-1">Customize
News</font></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="0"
width="100%">
<tr bgcolor="ffffcc ">
<td>
<font face="arial" size="-1">New research
reports for <a
href="http://rd.yahoo.com/finance/newsflash/reports/*http://screen.yahoo.com
/d?vw=0&db=r eports&z=da t&tk=MSFT ">
MSFT</a></font>
</td>
</tr>
</table>
<table border="0" cellpadding="2" >
<!-- Yahoo TimeStamp: 1056482880 -->
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:28pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/prnews/030624/sftu048_2.html" >
Microsoft and Portal Software Announce
Strategic Alliance For Telecommunicati ons
Billing</a> - PR Newswire</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:14pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kv07423/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_2810 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: "As Big a Change
as E-Mail"</a> - at BusinessWeek
Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:07pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/external/cbsm/SIG=14et957h7/*http://www
..marketwatch.c om/news/yhoo/story.asp?sourc e=blq/yhoo&siteid =yhoo&dis
t=yhoo&guid =%7B38F77B51%2D B9F7%2D4BE1%2DB 6C2%2DD6B1718BE 169%7D">
[external] Attorneys general mum about
Oracle stance</a> - at CBS
MarketWatch</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">2:50pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/prnews/030624/sftu100_1.html" >
Microsoft Announces Quarterly Earnings
Release Date</a> - PR Newswire</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">2:24pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kofrd39/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_3614 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: Slowly Weaving
Web Services Together</a> - at BusinessWeek
Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:35pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kjjetjh/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_4254 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: Microsoft's
Remembrance of Returns Past</a> - at
BusinessWeek Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:03pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/rc/030624/tech_lodgenet_n intendo_1.html" >
LodgeNet to upgrade hotel video games to
GameCube</a> - Reuters</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:01pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/oo/030624/79506.html">
[audio] Corporations Mostly Pleased With
Supreme Court Ruling [1.3 min]</a> -
ON24</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">10:28am</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/rc/030624/tech_orange_mot orola_1.html">
Motorola shows two handsets designed for
Orange</a> - Reuters</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">10:19am</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/ibd/030624/tech01_1.html">
Microsoft Seeks Edge In Wi-Fi
Capabilities</a> - Investor's Business
Daily</font>
</td>
</tr>
</table>
<p>
<b><font face="arial" size="-1">All headlines
for:</font></b> <a
href="http://biz.yahoo.com/n/m/msft.html"><fon t face="arial"
size="-1">MSFT</font></a>
</p>
</td>
<td align="center" valign="top" width="1%">
<br/>
<table border="0" cellpadding="0" cellspacing="0" >
<tr>
<td align="center">
<font face="arial"
size="-2">ADVERTISEMEN T</font><br/>
<a
href="http://rd.yahoo.com/M=233776.318565 4.4499672.13951 14/D=fin/S=83072156:
SKY/A=1573695/R=0/SIG=12i99co2j/*http://www.quickenloans.com/Jump/30smahec_y
re.asp?Source=Y AD_finROSap.fin SKYheq1">
<img alt="" border="0" height="600"
src="http://us.a1.yimg.com/us.yimg.com/a/qu/quicken/0506_heq120.gif "
width="120"/></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<hr noshade="noshad e" size="0"/>
<font face="arial" size="-2"><a href="http://help.yahoo.com/help/fin/"
target="_top">Q uestions or Comments?</a>
</font>
<center>
<p>
<font face="arial" size="-2"><font face="arial"
size="-2">Copyright © 2003 Yahoo! Inc. All rights
reserved. <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=1/SIG=1136qnvkg/*http://docs.yahoo.com/info/terms/">
Terms of Service</a> - <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=2/SIG=11lp7krrc/*http://docs.yahoo.com/info/copyright/copyr
ight.html">
Copyright Policy</a> - <a href="javascrip t:ADFlaunch()"> Ad
Feedback.</a><br/>
To learn more about Yahoo!'s use of personal information,
please read the <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=3/SIG=11ktl1v5i/*http://privacy.yahoo.com/privacy/us/fin/in
dex.html">
Privacy Policy</a>.</font></font>
</p>
</center>
<font face="arial" size="-2"><br/>
Quote technology by <a href="http://www.tibco.com" target="_top">T IBCO
Software, Inc.</a><br/>
Historical chart data and daily updates provided by <a
href="http://www.csidata.com " target="_top">C ommodity
Systems, Inc. (CSI)</a>.<br/>
Market Cap and Avg Vol provided by <a
href="http://www.marketguide .com" target="_top">M arket
Guide</a>.S&P 500 Index provided by <a
href="http://www.comstock-interactivedata .com"
target="_top">C omStock</a>.<br/>
Target Price Est, EPS Est & PEG provided by the <a
href="http://www.thomsonfn.c om" target="_top">T homson
Financial Network</a>.<br/>
<a id="t" name="t">Data and information is provided for
informational purposes only, and is not intended for trading
purposes. Neither Yahoo! nor any of its data or content
providers (such as Reuters, CSI and exchanges) shall be
liable for any errors or delays in the content, or for any
actions taken in reliance thereon. By accessing the Yahoo!
site, a user agrees not to redistribute the information found
therein.</a> <a id="t" name="t">All data provided by Thomson
Financial Network is based solely upon research information
provided by third party analysts. Yahoo! has not reviewed,
and in no way endorses the validity of such data. Yahoo! and
ThomsonFN shall not be liable for any actions taken in
reliance thereon.</a><a id="t" name="t">The trading services
which users may access through the links on this page are
services of the listed independent brokerage companies. In
order to use these services, you need to have an existing
account with such brokerage company or you will need to set
up such an account with such brokerage company. Yahoo!
provides customized links to selected brokerage companies for
your convenience only. Yahoo! is not a registered
broker-dealer and does not endorse or recommend the services
of any brokerage company. The brokerage company you select is
solely responsible for its services to you, the user. Yahoo!
shall not be liable for any damages or costs of any type
arising out of or in any way connected with your use of the
services of the brokerage company.</a></font><br/>
<img alt="" height="1"
src="http://pa.yahoo.com/pa?q=sft^msft&a mp;s=83072156" width="1"/>
</center>
</body>
</html>
----------------------------------------
wasn't able to post it with an attachment...)
Attached are the XSL and XML files that I am having problems with. I am
trying to extract the stock information after having downloaded the HTML and
converted to XML (well-formed HTML) using XSL and XPATH and am unable. I am
basing what I have done so far off of
http://www-106.ibm.com/developerwork...brary/wa-wbdm/ .
My question is how do I get the table containing the quote information, as
the line provided by the above link <xsl:template
match="table[starts-with(normalize-space(.),'Appar Temp')]"> does not appear
to do the trick. When I run the transformation with the attched files, the
output is:
<RESULT><StockQ uote/></RESULT>
Any help is appreciated.
Thanks
Michael
-------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:output version="1.0" indent="yes" encoding="UTF-8"
omit-xml-declaration="no " method="xml"/>
<xsl:template match="/html">
<RESULT>
<StockQuote>
<xsl:apply-templates/>
</StockQuote>
</RESULT>
</xsl:template>
<xsl:template match="text()"> </xsl:template>
<xsl:template match="table[starts-with(normalize-space(.),'Last Trade')]">
<Price>
<xsl:value-of select="tr[2]/td[3]/font/b"/>
</Price>
</xsl:template>
</xsl:stylesheet>
-------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<html>
<head>
<meta content="HTML Tidy, see www.w3.org" name="generator "/>
<title>
Yahoo! Finance - MSFT
</title>
</head>
<body>
<center>
<table border="0" width="100%">
<tr>
<td width="99%">
<table border="0" width="100%">
<tr>
<td width="1%">
<a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=0/SIG=10tol75ke/*http://finance.yahoo.c om/?u">
<img alt="Yahoo! Finance" border="0" height="31"
src="http://us.i1.yimg.com/us.yimg.com/i/fi/main4.gif" width="281"/></a>
</td>
<td align="right" valign="middle" >
<font face="arial" size="-1"><a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=1/SIG=10tm51ntr/*http://finance.yahoo.c om/li">
Search</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=2/SIG=10tol75ke/*http://finance.yahoo.c om/?u">
Finance Home</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=3/SIG=10mgpruen/*http://www.yahoo.com">
Yahoo!</a> - <a
href="http://rd.yahoo.com/M=224039.198199 1.3464255.19184 88/D=fin/S=83072156:
HEAD/A=1028588/R=4/SIG=111olt5k2/*http://help.yahoo.com/help/fin/">
Help</a></font>
<hr noshade="noshad e" size="1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<font face="arial" size="-1">Tuesday, June 24 2003 4:40pm ET
- U.S. Markets Closed.</font>
<table border="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="dcdcdc ">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0"
width="100%">
<tr>
<td>
<font face="arial"><b >Welcome</b></font>
<font face="arial" size="-1">[<b><a
href="http://login.yahoo.com/config/login?.src=quot e&.intl=us& amp;.done=
http://finance.yahoo.c om/%3fu">
Sign In</a></b>]</font>
</td>
<td align="right">
<font face="arial" size="-1"><nobr>To track
stocks & more,</nobr> <nobr><a
href="http://edit.yahoo.com/config/eval_register?. src=quote&. intl=us&
;.done=http://finance.yahoo.c om/%3fu">
<b>Register</b></a></nobr></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
<td bgcolor="white" valign="top">
<font face="arial" size="-1"><b>Premiu m:</b>
<nobr><b>FREE trial</b><img alt="[new]" border="0"
height="11" src="http://us.i1.yimg.com/us.yimg.com/i/new2.gif" width="28"/>
of <a
href="http://us.rd.yahoo.com/finance/rtq/navloggedout/evt=440/*http://billin
g.finance.yahoo .com/ym/f/FinanceReal1?.s rc=quote&.r efer=nb">
Streaming Real-Time Quotes, Charts, and
Screener</a></nobr> | <b>Free:</b> <a
href="http://us.rd.yahoo.com/finance/billpay/navbox/*http://bills.yahoo.com "[color=blue]
>[/color]
Pay bills</a> - <a
href="http://us.rd.yahoo.com/finance/ft_navbox/*http://finance.yahoo.com/fun
dstransfer">
Transfer funds</a> - <a
href="https://finance.secure. yahoo.com/box?u">Money
Manager</a> <nobr>[ <a
href="http://login.yahoo.com/config/login?.src=quot e&.intl=us& amp;.done=
http://finance.yahoo.c om/%3fu">
Register/Sign In</a> ]</nobr></font><br/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr bgcolor="6699cc ">
<td>
<font face="arial" size="+1"><b><a id="fv"
name="fv">Quote s</a></b></font>
</td>
<td align="right">
<table bgcolor="#dcdcd c" border="0" cellpadding="2" >
<tr>
<td>
<a
href="http://edit.finance.dc x.yahoo.com/e0?.intl=us& ;.done=http://finance
..yahoo.com/q%3fd%3dv1%26s% 3dMSFT">
<font face="arial" size="-1">Customize
Finance</font></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table bgcolor="BFCEDE " border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="4" cellspacing="0" >
<tr>
<td>
<form action="/q">
<table>
<tr>
<td align="center" nowrap="nowrap" >
<font face="arial" size="2">Enter
symbol(s)</font> <input name="s"
size="15"/><select name="d">
<option selected="selec ted" value="v1">
Basic
</option>
<option value="v2">
DayWatch
</option>
<option value="v3">
Performance
</option>
<option value="e">
Real-time Mkt
</option>
<option value="t">
Detailed
</option>
<option value="c">
Chart
</option>
<option value="r">
Research
</option>
<option value="o">
Options
</option>
<option value="f8">
Order Book
</option>
</select><input type="submit" value=" Get "/> <a
href="/l"><font face="arial" size="2">Symbol
Lookup</font></a>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table border="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<table border="0" cellpadding="3" cellspacing="0" >
<tr valign="top">
<td align="center">
<table border="0" cellpadding="18 " cellspacing="1" >
<tr>
<td align="center">
<a
href="http://rd.yahoo.com/M=234802.281846 6.4671011.15516 42/D=fin/S=83072156:
NE4/A=1608956/R=0/SIG=11hocr9ef/*http://www.scottrade.com/index.asp?supbid=1
7481">
<img alt="$7 TRADES!" border="0" height="60"
src="http://us.a1.yimg.com/us.yimg.com/a/sc/scottrade/yahoo39.gif"
width="105"/></a>
</td>
<td align="center">
<a
href="http://rd.yahoo.com/M=247463.341359 9.4695733.15516 42/D=fin/S=83072156:
NE4/A=1562490/R=0/SIG=13e9nh152/*http://ad.doubleclick.net/clk;5507200;78940
71;g?http://www.ameritrade. com/o.cgi?a=hjq& ;o=roi&p=/offer/30.html">
<img alt="Special Ameritrade Offer" border="0"
height="60"
src="http://us.a1.yimg.com/us.yimg.com/a/am/ameritrade/043003_am_but_b e_x50_
x_105x60_01.gif " width="105"/>
</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<font face="arial" size="-1"><b>Views: </b>
<a
href="/q?s=MSFT&d= v1"><big><b>Bas ic</b></big></a>
<a
href="http://edit.finance.dc x.yahoo.com/e9?.intl=us& ;.vk=v1&.do ne=htt
p://finance.yahoo.c om/q%3fs%3dMSFT&am p;.src=quote">
[edit]</a> - <a
href="/q?s=MSFT&d= v2">DayWatch</a> - <a
href="/q?s=MSFT&d= v3">Performance </a> -
<a href="/q?s=MSFT&d= e">Real-time
Mkt</a> - <a href="/q?s=MSFT&d= t">Detailed</a> -
<nobr>[<a
href="http://edit.finance.dc x.yahoo.com/e9?.intl=us& ;.done=http://finance
..yahoo.com/q%3fs%3dMSFT&am p;.src=quote&am p;.cmd=t&.v k=v1">
Create New View</a>]</nobr></font>
</td>
</tr>
</table>
<table align="center" bgcolor="black" border="0"
cellspacing="1" >
<tr bgcolor="ffffcc ">
<td align="center">
<table cellpadding="4" cellspacing="0" >
<tr>
<td>
<b><font face="arial" size="-1"> We're
redesigning our
quote pages. <a
href="http://beta.finance.ya hoo.com/q?d=v1&s=MS FT">
Preview the New
Design</a>. </font></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table>
<tr>
<td align="center" colspan="2">
<table bgcolor="cccccc " border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="4"
cellspacing="1" width="100%">
<tr bgcolor="dcdcdc ">
<th nowrap="nowrap" >
<font face="arial"
size="-1">Symbol</font>
</th>
<th colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">Last
Trade</font>
</th>
<th colspan="2" nowrap="nowrap" >
<font face="arial"
size="-1">Change</font>
</th>
<th nowrap="nowrap" >
<font face="arial"
size="-1">Volume</font>
</th>
</tr>
<tr align="right" bgcolor="white" >
<td align="left" nowrap="nowrap" >
<a href="/q?s=MSFT&d= t"><font
face="arial" size="-1">MSFT</font></a>
</td>
<td align="center" nowrap="nowrap" >
<font face="arial"
size="-1">4:00pm</font>
</td>
<td nowrap="nowrap" >
<font face="arial"
size="-1"><b>25.70</b></font>
</td>
<td nowrap="nowrap" >
<font face="arial" size="-1"><font
color="ff0020">-0.08</font></font>
</td>
<td nowrap="nowrap" >
<font face="arial" size="-1"><font
color="ff0020">-0.31%</font></font>
</td>
<td nowrap="nowrap" >
<font face="arial"
size="-1">51,303,95 6</font>
</td>
</tr>
<tr bgcolor="white" >
<td align="center" colspan="6"
nowrap="nowrap" >
<font face="arial" size="-1"><a
href="/q?s=msft&d= c">Chart</a>,
<a
href="http://biz.yahoo.com/fin/l/m/msft.html">
Financials</a>, <a
href="http://table.finance.y ahoo.com/k?s=msft&g= d">
Historical Prices</a>, <a
href="http://biz.yahoo.com/ic/m/msft.html">
Industry</a>, <a
href="http://biz.yahoo.com/t/m/msft.html">
Insider</a>, <a
href="http://messages.yahoo. com/?action=q&b oard=MSFT">
Messages</a>, <a
href="http://biz.yahoo.com/n/m/msft.html">
News</a><br/>
<a href="/q?s=msft&d= o">Options</a>,
<a
href="http://biz.yahoo.com/p/m/msft.html">
Profile</a>, <a
href="http://us.rd.yahoo.com/finance/moreinfo/reports/*http://screen.yahoo.c
om/d?vw=0&db=r eports&z=da t&tk=msft ">
Reports</a>, <a
href="http://biz.yahoo.com/z/a/m/msft.html">
Research</a>, <a
href="http://biz.yahoo.com/e/l/m/msft.html">
SEC Filings</a>, <a
href="/i?s=msft"><b>mo re...</b></a></font>
</td>
</tr>
<tr>
<td align="center" bgcolor="ffffee "
colspan="6">
<font face="arial" size="-1">Track
investment
activity in detail with a <a
href="http://rd.yahoo.com/M=149204.218569 7.4135015.14006 45/D=fin/S=83072156:
NS/A=1144526/R=0/SIG=11kgusvr8/*http://edit.finance.yahoo.com/x0?.done=pf&am
p;.intl=us">
transaction
portfolio</a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<font face="arial" size="-1"><a
href="http://rd.yahoo.com/finance/addtomy/*http://edit.finance.dcx.yahoo.com
/ec?.src=quote&a mp;.intl=us& ;.done=http://finance.yahoo.c om/&.cancel P
age=http://finance.yahoo.c om/q?d%3dv1%26s%3d MSFT&.sym=M SFT">
Add to My Portfolio</a> - <a
href="http://alerts.yahoo.co m/config/edit_notificati on?.t=q&.s= e&.do
ne=http://finance.yahoo.c om/q?d%3dv1%26s%3d MSFT&.pf=MS FT">
Set Alert</a></font>
</td>
<td align="right">
<a
href="/d/quotes.csv?s=MS FT&f=sl1d1t 1c1ohgv&e=. csv">
<font face="arial" size="-1">Download
Spreadsheet</font></a>
</td>
</tr>
</table>
<table>
<tr>
<td align="center">
<font face="arial" size="-1">Select a
Symbol for a detailed quote. Quotes delayed
15 minutes for Nasdaq, 20 minutes for NYSE
and AMEX. For delay times on other
exchanges see <a href="/sd">exchange
table</a>. Quote data provided by <a
href="http://us.rd.yahoo.com/finance/reuters/SIG=pd7i95/*http://www.reuters.
com">
Reuters</a>.<br/>
<b>Get a <a
href="http://us.rd.yahoo.com/finance/rtq/quote_results/evt=441/*http://billi
ng.finance.yaho o.com/ym/f/FinanceReal1?.s rc=quote&.r efer=quote">
Free trial</a><img alt="[new]" border="0"
height="11" src="http://us.i1.yimg.com/us.yimg.com/i/new2.gif" width="28"/>
of streaming real-time
quotes, charts, and screener from NYSE,
AMEX, and Nasdaq.</b></font>
</td>
</tr>
</table>
<br/>
<table border="0" cellpadding="4" cellspacing="0"
width="100%">
<tr bgcolor="6699cc ">
<td>
<font face="arial"><b ><big>Recent
News</big></b></font>
</td>
<td align="right">
<table bgcolor="dcdcdc " border="0" cellpadding="2" >
<tr>
<td>
<a
href="http://login.yahoo.com/config/login?.intl=us& amp;.src=quote& amp;.done=
http://finance.yahoo.c om/q%3fd%3dv1%26s% 3dMSFT">
<font face="arial" size="-1">Customize
News</font></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="0"
width="100%">
<tr bgcolor="ffffcc ">
<td>
<font face="arial" size="-1">New research
reports for <a
href="http://rd.yahoo.com/finance/newsflash/reports/*http://screen.yahoo.com
/d?vw=0&db=r eports&z=da t&tk=MSFT ">
MSFT</a></font>
</td>
</tr>
</table>
<table border="0" cellpadding="2" >
<!-- Yahoo TimeStamp: 1056482880 -->
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:28pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/prnews/030624/sftu048_2.html" >
Microsoft and Portal Software Announce
Strategic Alliance For Telecommunicati ons
Billing</a> - PR Newswire</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:14pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kv07423/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_2810 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: "As Big a Change
as E-Mail"</a> - at BusinessWeek
Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">3:07pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/external/cbsm/SIG=14et957h7/*http://www
..marketwatch.c om/news/yhoo/story.asp?sourc e=blq/yhoo&siteid =yhoo&dis
t=yhoo&guid =%7B38F77B51%2D B9F7%2D4BE1%2DB 6C2%2DD6B1718BE 169%7D">
[external] Attorneys general mum about
Oracle stance</a> - at CBS
MarketWatch</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">2:50pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/prnews/030624/sftu100_1.html" >
Microsoft Announces Quarterly Earnings
Release Date</a> - PR Newswire</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">2:24pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kofrd39/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_3614 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: Slowly Weaving
Web Services Together</a> - at BusinessWeek
Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:35pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://us.rd.yahoo.com/finance/editorial/xbizwk/SIG=12kjjetjh/*http://
yahoo.businessw eek.com/technology/content/jun2003/tc20030624_4254 _tc113.htm"[color=blue]
>[/color]
[external] SPECIAL REPORT: Microsoft's
Remembrance of Returns Past</a> - at
BusinessWeek Online</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:03pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/rc/030624/tech_lodgenet_n intendo_1.html" >
LodgeNet to upgrade hotel video games to
GameCube</a> - Reuters</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">12:01pm</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/oo/030624/79506.html">
[audio] Corporations Mostly Pleased With
Supreme Court Ruling [1.3 min]</a> -
ON24</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">10:28am</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/rc/030624/tech_orange_mot orola_1.html">
Motorola shows two handsets designed for
Orange</a> - Reuters</font>
</td>
</tr>
<tr valign="top">
<td nowrap="nowrap" >
<font face="arial" size="-1">Tue</font>
</td>
<td align="right" colspan="2" nowrap="nowrap" >
<font face="arial" size="-1">10:19am</font>
</td>
<td>
<font face="arial" size="-1">MSFT</font>
</td>
<td>
<font face="arial" size="-1"><a
href="http://biz.yahoo.com/ibd/030624/tech01_1.html">
Microsoft Seeks Edge In Wi-Fi
Capabilities</a> - Investor's Business
Daily</font>
</td>
</tr>
</table>
<p>
<b><font face="arial" size="-1">All headlines
for:</font></b> <a
href="http://biz.yahoo.com/n/m/msft.html"><fon t face="arial"
size="-1">MSFT</font></a>
</p>
</td>
<td align="center" valign="top" width="1%">
<br/>
<table border="0" cellpadding="0" cellspacing="0" >
<tr>
<td align="center">
<font face="arial"
size="-2">ADVERTISEMEN T</font><br/>
<a
href="http://rd.yahoo.com/M=233776.318565 4.4499672.13951 14/D=fin/S=83072156:
SKY/A=1573695/R=0/SIG=12i99co2j/*http://www.quickenloans.com/Jump/30smahec_y
re.asp?Source=Y AD_finROSap.fin SKYheq1">
<img alt="" border="0" height="600"
src="http://us.a1.yimg.com/us.yimg.com/a/qu/quicken/0506_heq120.gif "
width="120"/></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<hr noshade="noshad e" size="0"/>
<font face="arial" size="-2"><a href="http://help.yahoo.com/help/fin/"
target="_top">Q uestions or Comments?</a>
</font>
<center>
<p>
<font face="arial" size="-2"><font face="arial"
size="-2">Copyright © 2003 Yahoo! Inc. All rights
reserved. <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=1/SIG=1136qnvkg/*http://docs.yahoo.com/info/terms/">
Terms of Service</a> - <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=2/SIG=11lp7krrc/*http://docs.yahoo.com/info/copyright/copyr
ight.html">
Copyright Policy</a> - <a href="javascrip t:ADFlaunch()"> Ad
Feedback.</a><br/>
To learn more about Yahoo!'s use of personal information,
please read the <a
href="http://rd.yahoo.com/M=224039.198199 3.3464257.19184 90/D=fin/S=83072156:
FOOT/A=1028590/R=3/SIG=11ktl1v5i/*http://privacy.yahoo.com/privacy/us/fin/in
dex.html">
Privacy Policy</a>.</font></font>
</p>
</center>
<font face="arial" size="-2"><br/>
Quote technology by <a href="http://www.tibco.com" target="_top">T IBCO
Software, Inc.</a><br/>
Historical chart data and daily updates provided by <a
href="http://www.csidata.com " target="_top">C ommodity
Systems, Inc. (CSI)</a>.<br/>
Market Cap and Avg Vol provided by <a
href="http://www.marketguide .com" target="_top">M arket
Guide</a>.S&P 500 Index provided by <a
href="http://www.comstock-interactivedata .com"
target="_top">C omStock</a>.<br/>
Target Price Est, EPS Est & PEG provided by the <a
href="http://www.thomsonfn.c om" target="_top">T homson
Financial Network</a>.<br/>
<a id="t" name="t">Data and information is provided for
informational purposes only, and is not intended for trading
purposes. Neither Yahoo! nor any of its data or content
providers (such as Reuters, CSI and exchanges) shall be
liable for any errors or delays in the content, or for any
actions taken in reliance thereon. By accessing the Yahoo!
site, a user agrees not to redistribute the information found
therein.</a> <a id="t" name="t">All data provided by Thomson
Financial Network is based solely upon research information
provided by third party analysts. Yahoo! has not reviewed,
and in no way endorses the validity of such data. Yahoo! and
ThomsonFN shall not be liable for any actions taken in
reliance thereon.</a><a id="t" name="t">The trading services
which users may access through the links on this page are
services of the listed independent brokerage companies. In
order to use these services, you need to have an existing
account with such brokerage company or you will need to set
up such an account with such brokerage company. Yahoo!
provides customized links to selected brokerage companies for
your convenience only. Yahoo! is not a registered
broker-dealer and does not endorse or recommend the services
of any brokerage company. The brokerage company you select is
solely responsible for its services to you, the user. Yahoo!
shall not be liable for any damages or costs of any type
arising out of or in any way connected with your use of the
services of the brokerage company.</a></font><br/>
<img alt="" height="1"
src="http://pa.yahoo.com/pa?q=sft^msft&a mp;s=83072156" width="1"/>
</center>
</body>
</html>
----------------------------------------