Hi everyone,
I am pretty new to xml. I am trying to code an html page to display the next two events in my xml document by date. If today is April 2nd, I would like to display the lines in the xml file for tonight and tomorrow.
Here is my xml file:
How can I do this?
Thanks,
Ha1ls45
Thanks,
Ha1ls45
I am pretty new to xml. I am trying to code an html page to display the next two events in my xml document by date. If today is April 2nd, I would like to display the lines in the xml file for tonight and tomorrow.
Here is my xml file:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<upcoming_shows>
<show>
<date>April 1st</date>
<venue>Venue 1</venue>
<citystate>City, State</citystate>
<time>TBA</time>
</show>
<show>
<date>April 2nd</date>
<venue>Venue 1</venue>
<citystate>City, State</citystate>
<time>TBA</time>
</show>
<show>
<date>April 7th</date>
<venue>Venue 1</venue>
<citystate>City, State</citystate>
<time>TBA</time>
</show>
<show>
<date>April 8th</date>
<venue>Venue 1</venue>
<citystate>City, State</citystate>
<time>TBA</time>
</show>
</upcoming_shows>
How can I do this?
Thanks,
Ha1ls45
Thanks,
Ha1ls45