title: Date operations on xsl 1.0
body: <p>I need to get 3 days before and after a given date defined in a variable, and store each one of them in a new individual variable in xsl 1.0. 
  i can't use any extensions or third party tools. </p>
  
  <p>Looking trough the answers in the forums, i found this: <a href="https://stackoverflow.com/questions/10689099/expanding-datetime-ranges-in-xslt-1-0">Expanding datetime ranges in XSLT 1.0</a>  for a similar problem, but i dont fully understand if and how it would aply to my code.</p>
  
  <p>Mi date variable is in standard dateTime format, like this: </p>
  
  <pre><code>&lt;xsl:variable name="Date" select="2014-05-13T00:00:00"/&gt;
  </code></pre>
  
  <p>And i would need to output an html similar to this:</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;
     2014-05-10
      &lt;td&gt;
    &lt;/tr&gt;
    &lt;!---some rows with pricing information --&gt;
  &lt;/table&gt;
  &lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;
     2014-05-11
      &lt;td&gt;
    &lt;/tr&gt;
    &lt;!---some rows with pricing information --&gt;
  &lt;/table&gt;
  &lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;
     2014-05-12
      &lt;td&gt;
    &lt;/tr&gt;
    &lt;!---some rows with pricing information --&gt;
  &lt;/table&gt;
  &lt;!-- etc --&gt;
  </code></pre>
  
  <p>In the rows with pricing information I will have to use each individual date to perform other operations, so each day must be stored in a variable for further use. </p>
  
  <p>Is there a way to accomplish this, using just xslt 1.0?</p>
  
  <p>Thanks in advance.</p>