Does a root element need when creating a response using Dataweave?
Does a root element need when creating a response using Dataweave?
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.
Sometimes: mandate in XML
For XMLs
Question is missing something.
No. While Datatweave transform XML needs root element. JSON, JAVA can be transformed normally