Re: XML sorting in Netscape?

by "Frank Boumphrey" <bckman(at)ix.netcom.com>

 Date:  Thu, 28 Nov 2002 17:19:41 -0500
 To:  <john(at)woram.com>,
<hwg-techniques(at)hwg.org>
 References:  woram
  todo: View Thread, Original
The xml tag is a proprietary Microsoft tag which is not part of the HTML
spec., thus it only works on IE5+.

The best you can do in other browsers is to create a DOM object in
JavaScript: -

      oXDOM=new ActiveXObject("Microsoft.XMLDOM")
//and load it with an XML or XSL file
    oXDOM.loadXML([xmlfile.xml])

And this will work in Non IE5 cliets _provided_ they have the ActiveXobject
on their computer. (They will if they have IE5 loaded somewhere). You will
still have to pass your entire files to the client though, probably as a
value on a hidden  input element.

Unfortunately, the only sure way to make XML work is to parse it Server
side.

HTH

Frank
----- Original Message -----
From: "John Woram" <john(at)woram.com>
To: <hwg-techniques(at)hwg.org>
Sent: Thursday, November 28, 2002 2:16 PM
Subject: XML sorting in Netscape?


> I have a little 4-column table, with a button at the top of each
> column to sort the table by that column. It works fine in IE but in
> Netscape the table content doesn't show up at all. All I see are the
> four buttons--it appears that Netscape won't import the data contained
> in my XML file. The files are:
>
>  http://www.woram.com/temp/index.htm < -- the HTML page
>
>  http://www.woram.com/temp/index.xml < -- the data for the table
>
> Would anyone know how to get Netscape to handle this table?
>
> Thanks,
>
> John Woram
>
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.