#1 2010-09-30 16:40:09

james73
Member
Company: Private
Registered: 2008-07-23
Posts: 44

Xpath in Talend

I am using 4.0.  I am trying to get an element name by using the following xPath query so that I can do an if product = "Bond" then do this but Talend doesn't seem to recognise this xPath command. In other XML tools this works.

local-name(Product[1]/child::node())

I know there is another thread discussing a similar topic and there is a requirement to ammend one of the source files. I am not a developer so I want to check if this can be handled in a different way or will it be in 4.1 perhaps.

Cheers
James


Uploaded Images


When context.Life = "grownup" trigger tMarriage; on component OK iterate tChildren; on subjob OK generate random extract from tBankAccount (tLoop until balance = 0)

Offline

Board footer

Powered by FluxBB