How to open XML File from IE into an external app?

Discussion in 'XML' started by J Wilks, Jun 11, 2004.

  1. J Wilks

    J Wilks Guest

    I am trying to download an XML file via Internet Explorer and view it in an
    external application. The file has a KML extension, which is registered in
    Windows file types to my external viewer. So I type the following into the
    browser:

    http://localhost/test/myfile.kml

    And IE displays the XML, instead of launching it in my external viewer!

    I can get around this by having the web server drop a
    "content-disposition=attachment; filename=myfile.kml" in the header, but I
    need it to open by default every time, and apparently auto-opening files is
    not allowed when a content-disposition header is set!

    Anyone know a workaround? How can I open this KML file in my external
    viewer, without IE snooping it, learning that it's an XML file, and then
    opening it up itself?
    J Wilks, Jun 11, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xenia
    Replies:
    4
    Views:
    423
    Xenia
    Nov 25, 2003
  2. jkflens
    Replies:
    2
    Views:
    1,448
    jkflens
    May 30, 2006
  3. Replies:
    1
    Views:
    393
    Patrice
    Feb 9, 2007
  4. Mellow Crow
    Replies:
    6
    Views:
    410
    Richard Cornford
    Nov 4, 2005
  5. Open external link into DIVs

    , Apr 30, 2007, in forum: Javascript
    Replies:
    11
    Views:
    213
    -Lost
    May 1, 2007
Loading...

Share This Page