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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML in Tables (Mozilla/Opera)

Status
Not open for further replies.

Shukusei

Programmer
Sep 6, 2004
43
CA
I'm currently working on updating a bit of coding I had done for a friend to display an XML journal on her webpage, so that it can be viewed in browsers other than Internet Explorer.

When I had created the page, I used a bunch of IE functions which made the coding a good deal easier, but unfortunatly, prevent the tables from reading the XML file in any other browser.

I was hoping someone could point me in the right path on how to create a new page so that the journal can be seen in Mozilla based browsers, and possibly Opera aswell(if it doesn't take too much extra effort anyway).


Here's the section of the old code that I'm trying to change:

Code:
<xml id="journal" src="entries.xml"></xml>
<p align="center"><font color="#F78C18"><strong><br>
  j o u r n a l</strong></font></p>
<span align="center">
  <p><div align="center"><img src="Images/journalintro.png" width="383" height="287"></div></span>
<p><span align="center"><br>
  <br>
  <br></p>
<table  width="350" height="111" align="center" datasrc="#journal"><tr><td height="105"><table width="350" height="103" align="center">
  <tr> 
    <td width="350" height="14"> <table width="350" height="20">
        <tr> 
          <td width="350" height="14"><div align="center"><font color="#F78C18"><strong><span datafld="date"></span></strong> 
              :: <span datafld="subject"></span></font></div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td><font color="#F78C18"><strong>feel</strong>:: <span datafld="mood"></span><br>
      <strong>hear</strong>:: <span datafld="music"></span></font></td>
  </tr>
  <tr> 
    <td height="45"> <table width="350" height="43">
        <tr> 
          <td height="14"><div datafld="entry"></div></td>
        </tr>
        <tr> 
          <td width="350" height="21"><p align="right"><a href="mailto:biohazard@kithulu.com?Subject=Journal%20Comment&Body=name%3A%3A%0D%0Aemail%3A%3A%0D%0Adate%3A%3A%0D%0A%0D%0Acomment%3A%3A"><strong>comment 
              </strong></a></tr>
      </table></td>
  </tr>
</table></td></tr></table>

Pardon the formattin, it was made in DreamWeaver.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top