<XmlTransformation Version="1.0"><Transform Direction="ToCds" DataEncoding="UTF-8"><SelectEach dest="DATAPACKET\ROWDATA\ROW" from="\procEventoNFe"><Select dest="@versao" from="@versao"/><Select dest="@evento_versao" from="\evento@versao"/><Select dest="@Id" from="\evento\infEvento@Id"/><Select dest="@cOrgao" from="\evento\infEvento\cOrgao"/><Select dest="@tpAmb" from="\evento\infEvento\tpAmb"/><Select dest="@CNPJ" from="\evento\infEvento\CNPJ"/><Select dest="@CPF" from="\evento\infEvento\CPF"/><Select dest="@chNFe" from="\evento\infEvento\chNFe"/><Select dest="@dhEvento" from="\evento\infEvento\dhEvento"/><Select dest="@tpEvento" from="\evento\infEvento\tpEvento"/><Select dest="@nSeqEvento" from="\evento\infEvento\nSeqEvento"/><Select dest="@verEvento" from="\evento\infEvento\verEvento"/><Select dest="@descEvento" from="\evento\infEvento\detEvento\descEvento"/><Select dest="@xCorrecao" from="\evento\infEvento\detEvento\xCorrecao"/><Select dest="@xCondUso" from="\evento\infEvento\detEvento\xCondUso"/><Select dest="@Algorithm" from="\evento\Signature\SignedInfo\CanonicalizationMethod@Algorithm"/><Select dest="@SignatureMethod_Algorithm" from="\evento\Signature\SignedInfo\SignatureMethod@Algorithm"/><Select dest="@URI" from="\evento\Signature\SignedInfo\Reference@URI"/><Select dest="@DigestValue" from="\evento\Signature\SignedInfo\Reference\DigestValue"/><Select dest="@SignatureValue" from="\evento\Signature\SignatureValue"/><Select dest="@X509Certificate" from="\evento\Signature\KeyInfo\X509Data\X509Certificate"/><Select dest="@retEvento_versao" from="\retEvento@versao"/><Select dest="@verAplic" from="\retEvento\infEvento\verAplic"/><Select dest="@cStat" from="\retEvento\infEvento\cStat"/><Select dest="@xMotivo" from="\retEvento\infEvento\xMotivo"/><Select dest="@xEvento" from="\retEvento\infEvento\xEvento"/><Select dest="@CNPJDest" from="\retEvento\infEvento\CNPJDest"/><Select dest="@CPFDest" from="\retEvento\infEvento\CPFDest"/><Select dest="@emailDest" from="\retEvento\infEvento\emailDest"/><Select dest="@dhRegEvento" from="\retEvento\infEvento\dhRegEvento"/><Select dest="@nProt" from="\retEvento\infEvento\nProt"/><SelectEach dest="Transform\ROWTransform" from="\evento\Signature\SignedInfo\Reference\Transforms\Transform"><Select dest="@Algorithm" from="@Algorithm"/></SelectEach></SelectEach></Transform><XmlSchema RootName="procEventoNFe"><![CDATA[<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="procEventoNFe" type="procEventoNFeType"/>
  <xs:complexType name="procEventoNFeType">
    <xs:sequence>
      <xs:element name="evento" type="eventoType"/>
      <xs:element name="retEvento" type="retEventoType"/>
    </xs:sequence>
    <xs:attribute name="xmlns" type="xs:string"/>
    <xs:attribute name="versao" type="xs:string"/>
  </xs:complexType>
  <xs:element name="evento" type="eventoType"/>
  <xs:complexType name="eventoType">
    <xs:sequence>
      <xs:element name="infEvento" type="infEventoType"/>
      <xs:element name="Signature" type="SignatureType"/>
    </xs:sequence>
    <xs:attribute name="xmlns" type="xs:string"/>
    <xs:attribute name="versao" type="xs:string"/>
  </xs:complexType>
  <xs:element name="infEvento" type="infEventoType"/>
  <xs:complexType name="infEventoType">
    <xs:sequence>
      <xs:element name="cOrgao" type="cOrgaoType"/>
      <xs:element name="tpAmb" type="tpAmbType"/>
      <xs:element name="CNPJ" type="CNPJType"/>
      <xs:element name="CPF" type="CPFType"/>
      <xs:element name="chNFe" type="chNFeType"/>
      <xs:element name="dhEvento" type="dhEventoType"/>
      <xs:element name="tpEvento" type="tpEventoType"/>
      <xs:element name="nSeqEvento" type="nSeqEventoType"/>
      <xs:element name="verEvento" type="verEventoType"/>
      <xs:element name="detEvento" type="detEventoType"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:string"/>
  </xs:complexType>
  <xs:element name="cOrgao" type="cOrgaoType"/>
  <xs:simpleType name="cOrgaoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="tpAmb" type="tpAmbType"/>
  <xs:simpleType name="tpAmbType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="CNPJ" type="CNPJType"/>
  <xs:simpleType name="CNPJType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="CPF" type="CPFType"/>
  <xs:simpleType name="CPFType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="chNFe" type="chNFeType"/>
  <xs:simpleType name="chNFeType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="dhEvento" type="dhEventoType"/>
  <xs:simpleType name="dhEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="tpEvento" type="tpEventoType"/>
  <xs:simpleType name="tpEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="nSeqEvento" type="nSeqEventoType"/>
  <xs:simpleType name="nSeqEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="verEvento" type="verEventoType"/>
  <xs:simpleType name="verEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="detEvento" type="detEventoType"/>
  <xs:complexType name="detEventoType">
    <xs:sequence>
      <xs:element name="descEvento" type="descEventoType"/>
      <xs:element name="xCorrecao" type="xCorrecaoType"/>
      <xs:element name="xCondUso" type="xCondUsoType"/>
    </xs:sequence>
    <xs:attribute name="versao" type="xs:string"/>
  </xs:complexType>
  <xs:element name="descEvento" type="descEventoType"/>
  <xs:simpleType name="descEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="xCorrecao" type="xCorrecaoType"/>
  <xs:simpleType name="xCorrecaoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="xCondUso" type="xCondUsoType"/>
  <xs:simpleType name="xCondUsoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="Signature" type="SignatureType"/>
  <xs:complexType name="SignatureType">
    <xs:sequence>
      <xs:element name="SignedInfo" type="SignedInfoType"/>
      <xs:element name="SignatureValue" type="SignatureValueType"/>
      <xs:element name="KeyInfo" type="KeyInfoType"/>
    </xs:sequence>
    <xs:attribute name="xmlns" type="xs:string"/>
  </xs:complexType>
  <xs:element name="SignedInfo" type="SignedInfoType"/>
  <xs:complexType name="SignedInfoType">
    <xs:sequence>
      <xs:element name="CanonicalizationMethod" type="CanonicalizationMethodType"/>
      <xs:element name="SignatureMethod" type="SignatureMethodType"/>
      <xs:element name="Reference" type="ReferenceType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CanonicalizationMethod" type="CanonicalizationMethodType"/>
  <xs:complexType name="CanonicalizationMethodType">
    <xs:sequence/>
    <xs:attribute name="Algorithm" type="xs:string"/>
  </xs:complexType>
  <xs:element name="SignatureMethod" type="SignatureMethodType"/>
  <xs:complexType name="SignatureMethodType">
    <xs:sequence/>
    <xs:attribute name="Algorithm" type="xs:string"/>
  </xs:complexType>
  <xs:element name="Reference" type="ReferenceType"/>
  <xs:complexType name="ReferenceType">
    <xs:sequence>
      <xs:element name="Transforms" type="TransformsType"/>
      <xs:element name="DigestMethod" type="DigestMethodType"/>
      <xs:element name="DigestValue" type="DigestValueType"/>
    </xs:sequence>
    <xs:attribute name="URI" type="xs:string"/>
  </xs:complexType>
  <xs:element name="Transforms" type="TransformsType"/>
  <xs:complexType name="TransformsType">
    <xs:sequence>
      <xs:element name="Transform" type="TransformType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Transform" type="TransformType"/>
  <xs:complexType name="TransformType">
    <xs:sequence/>
    <xs:attribute name="Algorithm" type="xs:string"/>
  </xs:complexType>
  <xs:element name="DigestMethod" type="DigestMethodType"/>
  <xs:complexType name="DigestMethodType">
    <xs:sequence/>
    <xs:attribute name="Algorithm" type="xs:string"/>
  </xs:complexType>
  <xs:element name="DigestValue" type="DigestValueType"/>
  <xs:simpleType name="DigestValueType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="SignatureValue" type="SignatureValueType"/>
  <xs:simpleType name="SignatureValueType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="KeyInfo" type="KeyInfoType"/>
  <xs:complexType name="KeyInfoType">
    <xs:sequence>
      <xs:element name="X509Data" type="X509DataType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="X509Data" type="X509DataType"/>
  <xs:complexType name="X509DataType">
    <xs:sequence>
      <xs:element name="X509Certificate" type="X509CertificateType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="X509Certificate" type="X509CertificateType"/>
  <xs:simpleType name="X509CertificateType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="retEvento" type="retEventoType"/>
  <xs:complexType name="retEventoType">
    <xs:sequence>
      <xs:element name="infEvento" type="infEventoType"/>
    </xs:sequence>
    <xs:attribute name="versao" type="xs:string"/>
  </xs:complexType>
  <xs:element name="infEvento" type="infEventoType"/>
  <xs:complexType name="infEventoType">
    <xs:sequence>
      <xs:element name="tpAmb" type="tpAmbType"/>
      <xs:element name="verAplic" type="verAplicType"/>
      <xs:element name="cOrgao" type="cOrgaoType"/>
      <xs:element name="cStat" type="cStatType"/>
      <xs:element name="xMotivo" type="xMotivoType"/>
      <xs:element name="chNFe" type="chNFeType"/>
      <xs:element name="tpEvento" type="tpEventoType"/>
      <xs:element name="xEvento" type="xEventoType"/>
      <xs:element name="nSeqEvento" type="nSeqEventoType"/>
      <xs:element name="CNPJDest" type="CNPJDestType"/>
      <xs:element name="CPFDest" type="CPFDestType"/>
      <xs:element name="emailDest" type="emailDestType"/>
      <xs:element name="dhRegEvento" type="dhRegEventoType"/>
      <xs:element name="nProt" type="nProtType"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:string"/>
    <xs:attribute name="xmlns" type="xs:string"/>
  </xs:complexType>
  <xs:element name="verAplic" type="verAplicType"/>
  <xs:simpleType name="verAplicType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="cStat" type="cStatType"/>
  <xs:simpleType name="cStatType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="xMotivo" type="xMotivoType"/>
  <xs:simpleType name="xMotivoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="xEvento" type="xEventoType"/>
  <xs:simpleType name="xEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="CNPJDest" type="CNPJDestType"/>
  <xs:simpleType name="CNPJDestType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="CPFDest" type="CPFDestType"/>
  <xs:simpleType name="CPFDestType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="emailDest" type="emailDestType"/>
  <xs:simpleType name="emailDestType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="dhRegEvento" type="dhRegEventoType"/>
  <xs:simpleType name="dhRegEventoType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="nProt" type="nProtType"/>
  <xs:simpleType name="nProtType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
</xs:schema>]]></XmlSchema><CdsSkeleton/><XslTransform/><Skeleton><![CDATA[<?xml version="1.0"?><DATAPACKET Version="2.0"><METADATA><FIELDS><FIELD attrname="versao" fieldtype="string" WIDTH="4"/><FIELD attrname="evento_versao" fieldtype="string" WIDTH="4"/><FIELD attrname="Id" fieldtype="string" WIDTH="54"/><FIELD attrname="cOrgao" fieldtype="string" WIDTH="2"/><FIELD attrname="tpAmb" fieldtype="string" WIDTH="1"/><FIELD attrname="CNPJ" fieldtype="string" WIDTH="14"/><FIELD attrname="CPF" fieldtype="string" WIDTH="11"/><FIELD attrname="chNFe" fieldtype="string" WIDTH="44"/><FIELD attrname="dhEvento" fieldtype="string" WIDTH="25"/><FIELD attrname="tpEvento" fieldtype="string" WIDTH="6"/><FIELD attrname="nSeqEvento" fieldtype="string" WIDTH="2"/><FIELD attrname="verEvento" fieldtype="string" WIDTH="4"/><FIELD attrname="descEvento" fieldtype="string" WIDTH="60"/><FIELD attrname="xCorrecao" fieldtype="string" WIDTH="1000"/><FIELD attrname="xCondUso" fieldtype="string" WIDTH="1051"/><FIELD attrname="Algorithm" fieldtype="string" WIDTH="47"/><FIELD attrname="SignatureMethod_Algorithm" fieldtype="string" WIDTH="47"/><FIELD attrname="URI" fieldtype="string" WIDTH="55"/><FIELD attrname="DigestValue" fieldtype="string" WIDTH="28"/><FIELD attrname="SignatureValue" fieldtype="string" WIDTH="5000"/><FIELD attrname="X509Certificate" fieldtype="string" WIDTH="5000"/><FIELD attrname="retEvento_versao" fieldtype="string" WIDTH="4"/><FIELD attrname="verAplic" fieldtype="string" WIDTH="20"/><FIELD attrname="cStat" fieldtype="string" WIDTH="3"/><FIELD attrname="xMotivo" fieldtype="string" WIDTH="255"/><FIELD attrname="xEvento" fieldtype="string" WIDTH="60"/><FIELD attrname="CNPJDest" fieldtype="string" WIDTH="14"/><FIELD attrname="CPFDest" fieldtype="string" WIDTH="11"/><FIELD attrname="emailDest" fieldtype="string" WIDTH="60"/><FIELD attrname="dhRegEvento" fieldtype="string" WIDTH="25"/><FIELD attrname="nProt" fieldtype="string" WIDTH="15"/><FIELD attrname="Transform" fieldtype="nested"><FIELDS><FIELD attrname="Algorithm" fieldtype="string" WIDTH="47"/></FIELDS><PARAMS/></FIELD></FIELDS><PARAMS/></METADATA><ROWDATA/><METADATA><FIELDS><FIELD attrname="versao" fieldtype="string" WIDTH="4"/><FIELD attrname="evento_versao" fieldtype="string" WIDTH="4"/><FIELD attrname="Id" fieldtype="string" WIDTH="54"/><FIELD attrname="cOrgao" fieldtype="string" WIDTH="2"/><FIELD attrname="tpAmb" fieldtype="string" WIDTH="1"/><FIELD attrname="CNPJ" fieldtype="string" WIDTH="14"/><FIELD attrname="CPF" fieldtype="string" WIDTH="11"/><FIELD attrname="chNFe" fieldtype="string" WIDTH="44"/><FIELD attrname="dhEvento" fieldtype="string" WIDTH="25"/><FIELD attrname="tpEvento" fieldtype="string" WIDTH="6"/><FIELD attrname="nSeqEvento" fieldtype="string" WIDTH="2"/><FIELD attrname="verEvento" fieldtype="string" WIDTH="4"/><FIELD attrname="descEvento" fieldtype="string" WIDTH="60"/><FIELD attrname="xCorrecao" fieldtype="string" WIDTH="1000"/><FIELD attrname="xCondUso" fieldtype="string" WIDTH="1051"/><FIELD attrname="Algorithm" fieldtype="string" WIDTH="47"/><FIELD attrname="SignatureMethod_Algorithm" fieldtype="string" WIDTH="47"/><FIELD attrname="URI" fieldtype="string" WIDTH="55"/><FIELD attrname="DigestValue" fieldtype="string" WIDTH="28"/><FIELD attrname="SignatureValue" fieldtype="string" WIDTH="5000"/><FIELD attrname="X509Certificate" fieldtype="string" WIDTH="5000"/><FIELD attrname="retEvento_versao" fieldtype="string" WIDTH="4"/><FIELD attrname="verAplic" fieldtype="string" WIDTH="20"/><FIELD attrname="cStat" fieldtype="string" WIDTH="3"/><FIELD attrname="xMotivo" fieldtype="string" WIDTH="255"/><FIELD attrname="xEvento" fieldtype="string" WIDTH="60"/><FIELD attrname="CNPJDest" fieldtype="string" WIDTH="14"/><FIELD attrname="CPFDest" fieldtype="string" WIDTH="11"/><FIELD attrname="emailDest" fieldtype="string" WIDTH="60"/><FIELD attrname="dhRegEvento" fieldtype="string" WIDTH="25"/><FIELD attrname="nProt" fieldtype="string" WIDTH="15"/><FIELD attrname="Transform" fieldtype="nested"><FIELDS><FIELD attrname="Algorithm" fieldtype="string" WIDTH="47"/></FIELDS><PARAMS/></FIELD></FIELDS><PARAMS/></METADATA><ROWDATA/></DATAPACKET>
]]></Skeleton></XmlTransformation>
