Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am just starting to get into XML.

Status
Not open for further replies.

ToddWW

Programmer
Mar 25, 2001
1,073
US
I am just starting to get into XML. I have created my first document which looks something like this.
Code:
<?xml version='1.0'?>
<alarmhistory>
  <location id='651922554028.98'>
    <alarm id='I01AVBHD'>
      <date>10/8/2001</date>
      <time>8:01:00 AM</time>
      <device id='L3'>
        <description>FILL HOLE SUMP</description>
      </device>
      <description>FUEL ALARM</description>
    </alarm>
    <alarm id='I01AVBMS'>
      <date>10/8/2001</date>
      <time>7:36:00 AM</time>
      <device id='L4'>
        <description>DUAL MASTER</description>
      </device>
      <description>FUEL ALARM</description>
    </alarm>
  </location>
</alarmhistory>
And in many cases lists 100's or 1000's of records. When I open that in IE 5.0, it displays the tree value with all the little minuses next to the expandable/collapsable elements.

My questions are, is there any way that I can format this document so all elements are collapsed when opened in IE ? Is there any way I can get that tree type effect in Netscape.

Thank you.

ToddWW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top