#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    7
    Rep Power
    0

    how to display xml via netscape


    how would i able to display this page http://pages.infinit.net/jbb/xml/ via netscape (any version)


    the same question goes for displaying xml via DOM scripts.
    http://pages.infinit.net/jbb/xml2/
    Last edited by HF_JBB; October 23rd, 2002 at 06:31 PM.
  2. #2
  3. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jun 2002
    Location
    Washington, DC
    Posts
    2,692
    Rep Power
    22
    I would say first to make sure your XML is valid, valid being within W3C standards.
    ~ Joe Penn
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    7
    Rep Power
    0
    all my xml files are well formed and valid, no problem with that. Everything works fine in IE ...the problem nothing shows up in netscape 4, 6/7 or mozilla browser.

    i tried to look for some info on the web about this issue, i haven't found much info yet.
  6. #4
  7. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jun 2002
    Location
    Washington, DC
    Posts
    2,692
    Rep Power
    22
    Ya - I just tested it in Pheonix and it is not working niether. Have you searched this forum, here is a thread that discusses this -->

    XML and Netscape 6

    If it did'nt work, let me know. Also, if it worked, let me know....
    Either way, just post back..........
    ~ Joe Penn
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    98
    Rep Power
    12
    I tried it in Opera 6, and i doesn't work in that either, just to let you know.
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    7
    Rep Power
    0
    thanks, ill check that link tommorow.

    apprently im using a proprietary IE-enhancement .

    http://www.webreference.com/programm...wrapper/4.html

    this page sorta explains how to load a xml file via DOM...on page 5 there's an example, and it worked with netscape 7 & Mozilla, but not N4.
  12. #7
  13. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    I'd recommend just going with xsl. You call your xml file directly (instead of loading it from an html file) and have the xml file associated with an xsl file that turns it into html. See the link that jpenn posted.

    **edit**
    And no, you're not going to get this to work with nn4 without doing the transformation server side.
    -james
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    7
    Rep Power
    0
    my xsl exemples doesn't seem to work "WELL" with netscape...i guess i used another IE element.

    ill post a link later, i gotta get going
  16. #9
  17. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    7
    Rep Power
    0
    i think i got it to work for IE and Netscape (doesn't work for opera)

    http://pages.infinit.net/jbb/xml2/software.html

    i see why it would be easier to do this via server side.
  18. #10
  19. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Looks cool.

    There's actually an easier way to do it, but it will die pretty hard if an older browser hits it. Here's an example:
    http://www.w3schools.com/xsl/xsl_transformation.asp
    Scroll down to the bottom, where it says "Link the XSL Style Sheet to the XML Document".
    -james

IMN logo majestic logo threadwatch logo seochat tools logo