M
Mike Mueller
I am trying to pull weather information for my website. The
error I receive is that the information is:
error '8000000a'
The data necessary to complete this operation is not yet
available.
/Developement/Weather.asp, line 11
Source code here, StyleWeather.xsl follows:
<html><head>
<%
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.load("http://www.ejse.com/WeatherService/Service.asmx/GetWeatherInfo?zipCode=53046")
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.load(Server.MapPath("StyleWeather.xsl"))
%>
</head>
<body>
<%
Response.Write(xml.transformNode(xsl))
xsl = nothing
xml = nothing
%>
</body>
</html>
stylesheet:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:for-each select="WeatherInfo">
<br/><b><xsl:value-of select="@title"/></b>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
error I receive is that the information is:
error '8000000a'
The data necessary to complete this operation is not yet
available.
/Developement/Weather.asp, line 11
Source code here, StyleWeather.xsl follows:
<html><head>
<%
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.load("http://www.ejse.com/WeatherService/Service.asmx/GetWeatherInfo?zipCode=53046")
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.load(Server.MapPath("StyleWeather.xsl"))
%>
</head>
<body>
<%
Response.Write(xml.transformNode(xsl))
xsl = nothing
xml = nothing
%>
</body>
</html>
stylesheet:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:for-each select="WeatherInfo">
<br/><b><xsl:value-of select="@title"/></b>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>