You are not logged in.
Announcement
Unanswered posts
|
Pages: 1 2
ok so it exists a solution with a tMap but it's quite heavy...
You can use the tmap if you are sure that your id won't change at any moment.
You use a filter :
for the first flow :
!row1.first_name.equals( row2.first_name)
for the second :
!row1.last_name.equals(row2.last_name )
After you can set your output fields to :
first:
"issue in id "+row1.id+" : "+row1.first_name+" different to "+row2.first_name
second:
"issue in line "+row1.id+" : "+row1.last_name+" different to "+row2.last_name
Last edited by cahsohtoa (2008-03-13 16:50:26)
Offline

i have this as an output:
Starting job projet at 18:10 13/03/2008.
NumberFormatException For input string: ""id"
NumberFormatException For input string: ""1"
NumberFormatException For input string: ""id"
NumberFormatException For input string: ""1"
Job projet ended at 18:10 13/03/2008. [exit code=0]
Offline

hi,
I want to test my xml file, but i've a little bit problem. I can't reach the row's id in my xml file. I've no problem to appear for instance the "NAME" in the tLogROW
<NOTE>
<DATE>03-14-2008</DATE>
<PROFIL ID="id_1">
<NAME>barrons</NAME>
</PROFIL>
<PROFIL ID="id_2">
<NAME>james</NAME>
</PROFIL>
</NOTE>
thank's
Last edited by pegaz (2008-03-14 16:20:19)
Offline
Ok I don't have any problem to have access to the ID fields.
Can you give me a screenshot of the Metadata configuration for your file (step 3)?
Last edited by cahsohtoa (2008-03-14 17:02:17)
Offline

Hello,
Someone can help me to solve my problem?
We suppose that we have 2 xml files: file1.xml and file2.xml. Both of files have the same structure.
file1.xml: | file2.xml:
|
id= 1 | id= 1
first_name= MACKLEY | first_name=ROBINSON
last_name= bob | last_name=david
|
| id= 2
| first_name=BROWN
| last_name=Jenny
I need to identify the id of the added line in file2.xml and then to show the first_name and last_name.
Something like this:
id =2 | first_name=BROWN | last_name=Jenny
Regards.
Last edited by pegaz (2008-03-25 16:42:09)
Offline
Pages: 1 2