Using tXMLMap with arbitrary namespace prefixes

Four Stars

Using tXMLMap with arbitrary namespace prefixes

I'm pulling data over REST API as XML document which is generated by JAXB on the server. The setup is such that namespace prefixes in the document are arbitrarily assigned (as briefly described here). If I set my XML metadata schema based on one example response and use it in tXMLMap element, it happens that the mapping is not successful since prefixes change from one API call to another.

 

Is it possible to deal with such dynamically changing prefixes in Talend OS for DI? 

Edit: An option as 'Ignore the namespaces' like in tFileInputXML would be most preferable. I tried also with Xpath *:fieldName and *[local-name() = 'fieldName'] with no luck. 

Moderator

Re: Using tXMLMap with arbitrary namespace prefixes

Hello,

Could you please have a look at this new feature jira issue about:https://jira.talendforge.org/browse/TUP-9305 to see if it is what you are looking for?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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