Ask Your Question
0

Adding XML root element

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

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?

Thanx.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

mikygit gravatar image

I found a way by using the Renamer component

edit flag offensive delete link more

Comments

Can you please post more details?

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

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

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

Question Tools

1 follower

Stats

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

Seen: 75 times

Last updated: Mar 02