Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. how to render XML for netscape????

how to render XML for netscape????

Scheduled Pinned Locked Moved XML / XSL
javascriptxmlhelptutorialquestion
6 Posts 3 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xxhimanshu
    wrote on last edited by
    #1

    :confused::(hi all, I am new to this forum..but not new to CP..can anyone of you help me out..I have an XML document and I parsed it to get the data..and show it in in IE 5.0 but the same thing doesnt work in Netscape..I am having Netscape 6.1...I am using Javascript to render XML..Any help or pointers are welcome..Please help.. thanks in advance.. Cheers Himanshu

    P 1 Reply Last reply
    0
    • X xxhimanshu

      :confused::(hi all, I am new to this forum..but not new to CP..can anyone of you help me out..I have an XML document and I parsed it to get the data..and show it in in IE 5.0 but the same thing doesnt work in Netscape..I am having Netscape 6.1...I am using Javascript to render XML..Any help or pointers are welcome..Please help.. thanks in advance.. Cheers Himanshu

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      Post the code please xxhimanshu, then we can help. Just saying "using Javascript to render" does not help us much.

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

      X 1 Reply Last reply
      0
      • P Paul Watson

        Post the code please xxhimanshu, then we can help. Just saying "using Javascript to render" does not help us much.

        Paul Watson
        Bluegrass
        Cape Town, South Africa

        Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

        X Offline
        X Offline
        xxhimanshu
        wrote on last edited by
        #3

        hi, i cannot understand what code.. the code that i used does well in IE..and does everything I want to do..and the way i want to...but I want to know as I am creating a DOM for microsoft as new ActiveXObject("Msxml2.DOMDocument.3.0");...and also some other things which work fine in IE doesnt work in NETSCAPE..as document.all doesnt work..whatever I have searched for and found was like that..I will have to use XSL Stylesheets..to render XML and show it in Netscape.....but I am having a problem..I dont have a static XML file...so I cant create a XSL which is dynamic...so is there any other way to do it..as we do in Microsoft Internet Explorer..any hints and ideas are welcome..please help!!!!!!!!! TIA... himanshu

        P 1 Reply Last reply
        0
        • X xxhimanshu

          hi, i cannot understand what code.. the code that i used does well in IE..and does everything I want to do..and the way i want to...but I want to know as I am creating a DOM for microsoft as new ActiveXObject("Msxml2.DOMDocument.3.0");...and also some other things which work fine in IE doesnt work in NETSCAPE..as document.all doesnt work..whatever I have searched for and found was like that..I will have to use XSL Stylesheets..to render XML and show it in Netscape.....but I am having a problem..I dont have a static XML file...so I cant create a XSL which is dynamic...so is there any other way to do it..as we do in Microsoft Internet Explorer..any hints and ideas are welcome..please help!!!!!!!!! TIA... himanshu

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          The code I meant was your code which is giving the problem on Netscape. If you can post that code then maybe we can help you out. From what I can gather though I recommend you ditch the client side processing and do it all server side. It is perfectly possible to apply an XSL transform to a dynamic XML source. The best way is to have an ASPX (or ASP page) which creates an XmlDocument and XslTransform. you then load up the XmlDocument with your dynamic XML (in .NET it can take in streams or physical files) and Response.Write out the XslTransform output.

          Paul Watson
          Bluegrass
          Cape Town, South Africa

          Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

          X 1 Reply Last reply
          0
          • P Paul Watson

            The code I meant was your code which is giving the problem on Netscape. If you can post that code then maybe we can help you out. From what I can gather though I recommend you ditch the client side processing and do it all server side. It is perfectly possible to apply an XSL transform to a dynamic XML source. The best way is to have an ASPX (or ASP page) which creates an XmlDocument and XslTransform. you then load up the XmlDocument with your dynamic XML (in .NET it can take in streams or physical files) and Response.Write out the XslTransform output.

            Paul Watson
            Bluegrass
            Cape Town, South Africa

            Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

            X Offline
            X Offline
            xxhimanshu
            wrote on last edited by
            #5

            I did it for IE..ad it is working fine..but the same program doesnt give any output in netscape..that is because netscape doesnt support some of the methods..so there is no other way..than to write a new approach which either can work fine in both..IE and netscape..or write routines for netscape and IE...but I dont know the idea as how to start with...can you help me out.. cheers Himanshu

            P 1 Reply Last reply
            0
            • X xxhimanshu

              I did it for IE..ad it is working fine..but the same program doesnt give any output in netscape..that is because netscape doesnt support some of the methods..so there is no other way..than to write a new approach which either can work fine in both..IE and netscape..or write routines for netscape and IE...but I dont know the idea as how to start with...can you help me out.. cheers Himanshu

              P Offline
              P Offline
              Philip Fitzsimons
              wrote on last edited by
              #6

              you have to do this using server-side code. client side code is not a good idea as you will face the problems that you have now. you need to write this in code that executes on the webserver, so either asp or asp.net depending on which one you know.


              "When the only tool you have is a hammer, a sore thumb you will have."

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups