2 Replies Latest reply on Nov 28, 2016 5:53 AM by jsf503

    Proble import xml

    jsf503

      Hello

      I try import xml to Filemaker Pro ad. v15

      my xml is

       

      <nfeProc xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10">

      <NFe xmlns="http://www.portalfiscal.inf.br/nfe">

       

       

      <infNFe Id="NFe35160969101921000147550010000097561030069529" versao="3.10">

       

       

      <ide>

       

       

      <cUF>35</cUF>

       

      <cNF>03006952</cNF>

      <natOp>Industrializacao</natOp>

      <indPag>0</indPag>

      <mod>55</mod>

      <serie>1</serie>

      <nNF>9756</nNF>

      <dhEmi>2016-09-26T15:13:00-03:00</dhEmi>

      <dhSaiEnt>2016-09-26T15:13:00-03:00</dhSaiEnt>

      <tpNF>1</tpNF>

      <idDest>1</idDest>

      <cMunFG>3550308</cMunFG>

      <tpImp>1</tpImp>

      <tpEmis>1</tpEmis>

      <cDV>9</cDV>

      <tpAmb>1</tpAmb>

      <finNFe>1</finNFe>

      <indFinal>0</indFinal>

      <indPres>9</indPres>

      <procEmi>0</procEmi>

      <verProc>PrjEstNFe 4.00.080</verProc>

      </ide>

       

       

       

       

       

       

      </infNFe>

       

      </NFe>

       

      </nfeProc>

       

      My xslt is

       

      <?xml version='1.0' encoding='UTF-8'?>

      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

        <xsl:template match="/">

        <FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">

        <METADATA>

        <FIELD NAME="cNF" TYPE="TEXT"/>

       

        </METADATA>

        <RESULTSET>

        <ROW>

        <COL>

        <DATA><xsl:value-of select="/nfeProc/NFe/infNFe/ide/cNF"/></DATA>

        </COL>

       

        </ROW>

        </RESULTSET>

        </FMPXMLRESULT>

        </xsl:template>

      </xsl:stylesheet>

      well ...

      i import and ...

      1 - dont generate error

      2- Filemaker  import  one record

      3 - filemaker generate new record

      4 -  this record is empty grrr... dont import data  select="/nfeProc/NFe/infNFe/ide/cNF"

      what is the problem in my xsl ?

      help my please ...

      Thank you for your attention

       

      pd  : My English is very bad

       

      Joan

      from Brazil