If you are working on transforming a schema to HealthVault data-type, you will run in to issue for transforming Xsl DateTime to date-time. The reason healthvault wants its own date-time is to facilitate approximate datetime i.e date only, time only scenarios like I took Polio vaccine when i was a kid prolly 10 years ago, now how do you DateTime that ? Anyways, here is Xsl which does DateTime to date-time using a Xsl template GenerateWhenNode.

              0">                                                                                                                                                                                                                                                                                                                                                                                                                    <s>                              </s>                                                                             0">                                                                                                                                                                                                                                                                                                                                                                                                                    <s>                              </s>