<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method='xml' indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="AFLACPayrollItems">
<QBXML>
  <VendorModRq RequestID='1'>
  <Vendor>
  <CompanyName>AFLAC</CompanyName>
  </Vendor>
  </VendorModRq>
  <PayrollItemAddRq RequestID='2'>
   <PayrollItems>
   <xsl:for-each select='AFLACPayrollItem'>
    <PayrollItem>
        <RecordNumber></RecordNumber>
        <PayItemType>8</PayItemType>
        <FullName><xsl:value-of select='./Name' /></FullName>
        <TaxTrackingType><xsl:value-of select='./TaxTrackingType' /></TaxTrackingType>
        <Amount>0</Amount>
	<Hidden>0</Hidden>
        <VendorItemID>AFLAC</VendorItemID>
        <VendorItemName>AFLAC</VendorItemName>
        <LiabilityAccount>AFLAC</LiabilityAccount>
        <PlanID>AFLAC</PlanID>
	<xsl:if test="./TaxTrackingType='53'"> 
           <AdjustGross>Y</AdjustGross>
        </xsl:if>
    </PayrollItem>
   </xsl:for-each>
  </PayrollItems>
  </PayrollItemAddRq>
  <PayrollItems />
</QBXML>
</xsl:template>
</xsl:stylesheet>