In LF Workflow - I use Read XML tool to create tokes from a XML file
But, the XML file have some different nodes and I need extract data from it.
But, the field name is equals in both node!!! like show
<emit>
<CNPJ>03274615000102</CNPJ>
<xNome>ARQDIGITAL LTDA</xNome>
<..................>
</emit>
<dest>
<CNPJ>10772401000113</CNPJ>
<xNome>COOPERATIVA DE CREDITO DE LIVRE ADMISSAO DE ASSOCIADOS DO NO</xNome>
<..................>
</dest>
To retrieve values from a XML file, I was use the " //*[name() = 'CNPJ'] " expression and choose the third option in the drop down - All items match (as a token of multiple value) - in the multiple matches drop-down option.
The token results is 2 or more lines with different values, like this:
- 03274615000102
- 01245784000115
The firs value is reference to <emit> <CNPJ>
The second value is referenced to <dest>CNPJ>.
Well, my question is:
Can I use this values to populate different fields?
like this ... The first value go to E.CNPJ field, and
The second value will populate the D.CNPJ
If yes, can you tell me how?
Best regards for all ...