Which is the manadatory tag in JRXML file structure?
-
Header
-
Title
-
Detail
-
JasperReports
Reveal answer
Fill a bubble to check yourself
D
Correct answer
Explanation
The root element is mandatory in every JRXML file as it defines the entire report structure and contains all other sections. All other tags like header, title, and detail are optional child elements within this root.
AI explanation
In a JRXML (JasperReports XML) report template, the root element `is the one mandatory tag that must wrap the entire report definition — everything else (bands like Title, Header, Detail) is optional and only required if the report actually uses that section. Without the rootjasperReport` tag, the file wouldn't be a valid report definition at all.