![]() |
|
|
|||||||
![]() |
XML - Re: Format a retrieved text file |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
John wrote: > I just learned that it is possible to grab a text file from another > site and display the data on my own site, however when I display the > data it does not format it correctly. Can anyone please point me in > the direction of a tutorial or help me with the code below. > > John > > <% > Response.Buffer = True > Dim objXMLHTTP, xml > > > Set xml = Server.CreateObject("Microsoft.XMLHTTP") > > xml.Open "GET", > "http://iwin.nws.noaa.gov/pub/data/text/FZUS53/KCLE.TXT", False > > xml.Send Response.ContentType = 'text/plain' > > Response.Write xml.responseText > > Set xml = Nothing > %> No i dea why you ask about ASP scripting of a text file in an XML group -- Martin Honnen http://JavaScript.FAQTs.com/ Martin Honnen |
|
|