Have this XML:
http://www.austinmetrobaseball.com/gamedata.xml

and need javascript to write this using document.write:
Code:
<div id="gamedate">Monday, Apr 16</div> <!-- gamedate --> 
<div id="gamescore"> 
  <div class="table-row"> 
    <div class="col1L">Nationals</div> 
    <div class="col2L">2</div> 
    <div class="col3L"></div> 
    <div class="col4L">(1-1-1)</div> 
  </div> <!-- table-row --> 
  <div class="table-row"> 
    <div class="col1W">Lynx</div> 
    <div class="col2W">8</div> 
    <div class="col3L"></div> 
    <div class="col4W">(2-1-0)</div> 
  </div> <!-- table-row -->
</div>  <!-- gamescore -->

I will be iterating through each division in the XML and building the gamescore
div and it's children for each game node in the division.

This is to be on an interval, so when the division changes, I will re-build the

data for the selected division.

Need a function to build the above HTML from the XML for each game node in

the selected division.