What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » HTML and XML problem

HTML and XML problem
Author: Message:
MattyRid
Veteran Member
*****

Avatar
Red Bull Racing Australia

Posts: 1321
Reputation: 21
– / Male / Flag
Joined: Jan 2006
Status: Away
O.P. HTML and XML problem
OK let me give a little background...I am building a new website fro someone who wishes to have a calender on there and I have decided to use an XML file to store each date and it's even and then I have a HTML file which automatically add rows to accommodate the number of events.

The only thing is whenever I update the XML file, the date is never correct in the HTML file....so the question I ask is, what in the world is wrong? is it because I have a date preset in my code? Is there a way for the HTML file to check the XML file's modified date automatically?

code:
<body class="main">
<xml id="Calendar_Info" src="calendar.xml"></xml>
<table width="635">
  <tbody>
    <tr>
      <td class="mainhead" align="center">
      <div class="boldmaroonhead">Calendar</div>
      <div class="blacktext">Last Updated On: 11 August 2004<!---- this section imports the data from the XML file into a table ---->
      <div class="menuspace">
      <table width="600" class="calendar_table" border="1"
bordercolordark="#B22222" bordercolorlight="#B22222" cellspacing="0"
cellpadding="2" datasrc="#Calendar_Info" id="CalendarTable">
        <thead> <tr class="calendar_table">
          <td width="175" class="calendarhead">
          <div class="maroontext">Date</div>
          </td>
          <td width="425" class="calendarhead">
          <div class="maroontext">Event Description</div>
          </td>
        </tr>
        </thead> <tbody>
          <tr>
            <td align="left" valign="top" class="whitebg"><span
class="blacktext" datafld="date"></span><br>
            </td>
            <td align="left" valign="top" class="whitebg"><span
class="blacktext" datafld="$text"></span><br>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="menuspace"><!---- end section ---- !--> The
information presented on this is imported from an XML file which
consists of several 'event' elements which describes the particular
event as well as an attribute called 'date' which shows the date which
the event will occur. </div>
      </div>
      </div>
      </td>
    </tr>
  </tbody>
</table>
</body>

Red Bull Racing Australia - Triple Eight Race Engineering - Holden
07-12-2007 12:18 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HTML and XML problem - by MattyRid on 07-12-2007 at 12:18 AM
RE: HTML and XML problem - by Adeptus on 07-12-2007 at 03:08 AM
RE: HTML and XML problem - by MattyRid on 07-12-2007 at 03:18 AM
RE: HTML and XML problem - by Adeptus on 07-12-2007 at 05:02 AM
RE: HTML and XML problem - by MattyRid on 07-12-2007 at 05:26 AM
RE: HTML and XML problem - by MattyRid on 07-13-2007 at 11:59 AM
RE: HTML and XML problem - by Adeptus on 07-13-2007 at 02:23 PM
RE: HTML and XML problem - by MattyRid on 07-13-2007 at 09:22 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On