Hi,<br><br>I&#39;m looking for some guidence in handling a testing issue.  I&#39;m new to XML/XSLT, so please bear with me.<br><br>First,
a little background.  My charter is to generate XML test messages to
make sure we process them correctly.  These messages are validated
against a schema.  I&#39;m using generateDS to generate the test messages. 
This ensures the xml is correct.<br>
<br>Everything works great except for one problem that keeps cropping
up.  Some elements cannot be defined easily ahead of time when
generating the final test document.  <br><br>For example, a field of
type &quot;xs:date&quot; will have to be modifed because tests are based on a
relative date, not an absolute one. That is, dates in tests are based
on things like &quot;3 days before today&quot;. <br>
<br>Therefore, I&#39;d like to figure out some way to change certain fields
like date so that I can pass a string and _still validate_ it against
the schema.  Using the example, &quot;-3&quot; would be passed in the date field
so that the test harness will recognize it as &quot;today - 3 days&quot;.  <br>
<br>Put another way, the goal is to make this:<br><i>  &lt;xs:element maxOccurs=&quot;1&quot; minOccurs=&quot;0&quot; name=&quot;date&quot; type=&quot;xs:date&quot;/&gt;</i><br>...<span style="color: rgb(51, 51, 255);">behave</span> like this:<br>

 <i>&lt;xs:element maxOccurs=&quot;1&quot; minOccurs=&quot;0&quot; name=&quot;date&quot; type=&quot;<span style="color: rgb(204, 0, 0);">xs:string</span>&quot;/&gt;</i><br>
<br>Naturally, I can edit and copy/paste into a completely new schema
file. But I was hoping someone could tell me if I can do some kind of
XSLT or whatever to get the same effect.<br><br>Thanks,<br><font color="#888888"><br></font>