/>
    <EapHostUserCredentials xmlns="http://www.microsoft.com/provisioning/EapHostUserCredentials" xmlns:eapCommon="http://www.microsoft.com/provisioning/EapCommon" xmlns:baseEap="http://www.microsoft.com/provisioning/BaseEapMethodUserCredentials">
      <xsl:if test="$credsNode//Node[NodeName='EAPType']/Value=21">
        <!-- Only Eap TTLS credentials are supported-->
        <EapMethod>
          <eapCommon:Type>21</eapCommon:Type>
          <eapCommon:AuthorId>311</eapCommon:AuthorId>
        </EapMethod>
      </xsl:if>
      <Credentials xmlns="http://www.microsoft.com/provisioning/EapHostUserCredentials">
        <EapTtls xmlns="http://www.microsoft.com/provisioning/EapTtlsUserPropertiesV1">
          <Username><xsl:value-of select="$credsNode//Node[NodeName='Username']/Value"></xsl:value-of></Username>
          <Password><xsl:value-of select="$credsNode//Node[NodeName='Password']/Value"></xsl:value-of></Password>
        </EapTtls>
      </Credentials>
    </EapHostUserCredentials>
  </xsl:template>
  
</xsl:stylesheet>
