Ask Your Question

Adding XML root element

asked 2018-03-02 01:55:12 -0600

mikygit gravatar image

I'm reading big XML files specifying a delimiter which chunk the content into Records. Those are missing an element root which is necessary at later stage for instance when publisinh into kafka.

Is it possible to convert those records (applying a transformation) and apply a root to each of them? How would you do this?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-02 07:25:43 -0600

mikygit gravatar image

I found a way by using the Renamer component

edit flag offensive delete link more


Can you please post more details?

jeff gravatar imagejeff ( 2018-03-06 10:18:56 -0600 )edit

What do you mean? Concerning my initial problem or the solution I found?

mikygit gravatar imagemikygit ( 2018-03-06 10:36:18 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-03-02 01:55:12 -0600

Seen: 116 times

Last updated: Mar 02 '18