<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

OpenCms XML content documentation

OpenCms logo - Forward >>

OpenCms XML content objects

One of the most powerful features of OpenCms ist the XML content. With XML contents it is easy to create structured contents like news messages, events, address data, etc. List views of XML content objects can be generated easily by using the OpenCms taglib.

XML contents are located as files in the VFS (Virtual File System) of OpenCms and can be edited by content managers in an automatically generated form based editor.

Advantages of XML contents compared to the legacy "master module mechanism":

If you are a long - time OpenCms user, you might know the legacy "master module" technology. This is still available, however, XML contents offer some substantial advantages over the master module mechanism:

  • Much, much, much shorter learning curve
  • Faster development cycle
  • No Java knowledge necessary for XML content development
  • Located in the VFS of OpenCms like other files, with full support of all file operations
  • Powerful OpenCms taglib commands to generate different output views of XML contents for a website
  • Contents are stored as standards conforming XML files
  • Form based editing of the contents with automatically generated editor
  • Standards conforming content description with XSD, so you can re-use your knowledge elsewhere

Because of these advantages we recommend the use of XML contents as described here with OpenCms 6.0.

XML content development in [xx] easy steps:

file Step 1: Creating a simple XSD

How to create a very simple XSD for XML contents

file Step 2: Datatypes

Learn about the data types that can be used in a XSD.

file Step 3: Advanced XSD configuration

Learn about the advanced configuration options of XML contents in a XSD.

©2003-2005 Alkacon Software (http://www.alkacon.com) - The OpenCms experts