File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes xml xls not seeing anything Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml xls not seeing anything" Watch "xml xls not seeing anything" New topic

xml xls not seeing anything


Joined: May 10, 2001
Posts: 1
I am curious as to why i do not see any of the stock data from the feed in the table , does not seem to be picking it up. all i get is the topline saying "stock quote".
below is the xml file and the xsl template file.
startTable="<table bgColor=#f0f8ff border=0 cellPadding=2 WIDTH=100% cellSpacing=0><tr><td bgcolor=midnightblue><font color=white face=Arial size=2><strong>"
'Load the XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load "home_quote.xsl"

'stock quote
newsName=" Stock Quote"
set xml = nothing
set xsl = nothing
here is the template

<?xml version='1.0'?>

<xsl:for-each select="DATA/EXCHANGE/STOCK">

<td colspan="12">
<font face="arial" size="1">

<xsl:value-of select="@Code"/>
<xsl:value-of />

<xsl:for-each select="DATA/EXCHANGE/STOCK">
<td valign="top">

<font face="arial" size="1">
<xsl:attribute name="Code">
<xsl:value-of select="@Code"/>
<xsl:value-of />
</tr> (etc)


thanks in advance
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065
Andya, your XML file doesn�t look like XML. Isn�t it ASP?
Also, your name happened to contradict our Official policy on registered names. We are glad to see you here, just a formality.

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
subject: xml xls not seeing anything
It's not a secret anymore!