I want to put the information found in this:
http://futureready.org/xml/?pid=bcTcB3tO
on a site. How would I go about doing this?
http://futureready.org/xml/?pid=bcTcB3tO
on a site. How would I go about doing this?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
screwmesa said:I'm not sure that will help me. The XML file I need the information from is not on my server so I cannot add a stylesheet to it. I can only link to the file.
<html>
<body>
<%
'Load XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("http://futureready.org/xml/?pid=bcTcB3tO"))
'Load XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("blah.xsl"))
'Transform file
Response.Write(xml.transformNode(xsl))
%>
</body>
</html>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/">
<html>
<body>
<xsl:for-each select="statistics/school%20pid='bcTcB3tO'/votes">
<xsl:value-of select="total_votes" />
<xsl:value-of select="hottest" />
</xsl:for-each>
</body>
</html>
</xsl:template></xsl:stylesheet>
screwmesa said:Ok, I've got this in an html file named blah.html:
Code:xml.async = false xml.load(Server.MapPath("http://futureready.org/xml/?pid=bcTcB3tO")) %> </body> </html>
and it's coming up blank....any help?