From the course: Complete Guide to Spring MVC
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
XSLT views overview - Spring Tutorial
From the course: Complete Guide to Spring MVC
XSLT views overview
- [Instructor] XSLT Views. XSLT, otherwise known as extensible style sheet language transformation, is the technology used to transform XML documents into various formats such as HTML. In Spring MVC, XSLT can be used to generate views by transforming XML data into HTML or other formats, providing a separation of concerns between the data and its presentation. Why would we use XSLT views in Spring MVC? One, XML-centric applications. If your application handles XML data and you want to apply transformations to generate HTML views, then XSLT is a perfect tool for you. Two, separation of concerns. XSLT separates the data generation handled by your Spring controllers from the presentation logic, which is handled by the XSLT templates. Third is flexible transformation logic. XSLT allows for transformation to generate complex views based on XML data. What are the steps to implement XSLT views in Spring MVC? First, you'll start with setting up the model data in your XML. The model in your…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Groovy Markup overview4m 23s
-
(Locked)
Thymeleaf4m 34s
-
(Locked)
FreeMarker overview3m 24s
-
(Locked)
Script views overview4m 42s
-
(Locked)
JSP and JSTL overview3m 54s
-
(Locked)
RSS and Atom4m 18s
-
(Locked)
PDF and Excel overview3m 43s
-
(Locked)
Jackson overview5m 3s
-
(Locked)
XML marshalling4m 31s
-
(Locked)
XSLT views overview5m 51s
-
(Locked)
-
-
-