Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - Re: Format a retrieved text file

 
Thread Tools Search this Thread
Old 06-29-2003, 10:40 AM   #1
Default Re: Format a retrieved text file




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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump