MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 48


Does a root element need when creating a response using Dataweave?

Show Answer
Correct Answer: B

A root element is sometimes needed when creating a response using Dataweave, specifically for XML responses. For other formats like JSON or Java, a root element is not required.

Discussion

3 comments
Sign in to comment
ck0241
Jul 15, 2021

Question is missing something.

HarshitChandel
Sep 15, 2021

No. While Datatweave transform XML needs root element. JSON, JAVA can be transformed normally

RahulJain464Option: B
Aug 10, 2022

For XMLs

kampatraOption: B
Feb 3, 2023

Sometimes: mandate in XML