
Building Websites with OpenCms

In this section, we will create a new module and discuss typical module organization. In the last chapter, we created a generic XML resource type (genxml) for storing XML data. This module will provide eXtensible Stylesheet Language Transformations (XSLT) functionality for transforming XML into HTML.
XSLT is an XML format standardized by the World Wide Web Consortium (W3C), the standards body responsible for HTML, XML, HTTP, and a host of other Internet-related technologies. XSLT files are XML documents that contain instructions on how to transform one type of XML into another type of XML—or HTML. For more information on XSLT, visit the W3C's website: http://www.w3.org/Style/XSL/.
To create a new module, go to the administration view and click on the magic wand icon. OpenCms will present a form to complete that looks something like this:
![]() |
We have already encountered this form in Chapter 4, when we created a site module. The Package name
should contain a Java-compliant package...
Change the font size
Change margin width
Change background colour