﻿<xsl:stylesheet	version="1.0"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"
				xmlns:d="http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields"
        xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2016-06-01T13:26:27"
        xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls"
>
  
  <xsl:template match="/">
    <my:UserSchedules>
      <xsl:apply-templates select="dfs:myFields/dfs:dataFields/d:SharePointListItem_RW" />
    </my:UserSchedules>
  </xsl:template>

  <xsl:template match="d:SharePointListItem_RW">
    <my:UserSchedule>
      <my:SchedulePeriod />
      <my:ScheduleYear />
      <my:ScheduleStatus />
      <my:Assignees>
        <xsl:copy-of select="d:Account/pc:Person" />
      </my:Assignees>
    </my:UserSchedule>
  </xsl:template>

</xsl:stylesheet>


