tXMLMap mapping with filter

One Star

tXMLMap mapping with filter

Hi,
i got an XML document and extract some data out of it with tXMLMap. Works fine so far, but now i have a document part like this:
<typ:AdditionalInfo>
<typ:Info Typ="income">1500</typ:Info>
<typ:Info Typ="height">185</typ:Info>
<typ:Info Typ="age">56</typ:Info>
</typ:AdditionalInfo>

I tried to extract the data using XPath like this ........./typ:AdditionalInfo/typ:Info but that just doesn't seem to work (no result). In general it seems like i can't get ANY Xpath with a filter condition (square brackets) to work.
Any suggestions?
Seventeen Stars

Re: tXMLMap mapping with filter

hi,
only Dom4j Parser support some filter. You have to filter in xml input component  
ps : tExtractxmlfiled swich automaticaly in dom4j
hope it help
regards
laurent

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads