Book Image

Web Content Management with Documentum

Book Image

Web Content Management with Documentum

Overview of this book

One of the world leaders in Enterprise Content Management, the EMC Documentum family of applications helps you manage all types of content across multiple departments within a single repository. With the Web Content Management suite of applications, you can efficiently manage content and underlying processes for your Web properties, and ensures that they are responsive to business needs. To fully realize the power of this system can seem daunting, but this book will help you achieve that. With easy to follow examples, this book will take you the simplest and most straightforward route to success. Along the way, you will learn insights that only a seasoned professional would know. Packed with practical examples, you will get hands-on with the powerful features of Documentum to grow your skills and confidence. You will see tips and tricks to handle complexities of the system, and avoid the common errors that waste your time. From installing and getting started with Documentum, you will see how to design and develop Documentum applications, before rounding off with deployment.
Table of Contents (33 chapters)
Web Content Management with Documentum
Credits
About the Author
Acknowledgements
Preface
Frequently Asked Questions and Answers

15.5 XDQL Example in XSL Stylesheet


Let us take a simple example to understand how XDQL is used to fetch Docbase data dynamically within Presentation files (XSL stylesheets).

The following sample template file will be transformed via an XSL stylesheet:

<?xml version="1.0" encoding="UTF-8"?>
<ROOTTAG>
<TITLEOFPAGE/>
<SHORTDESC/>
</ROOTTAG>

The XSL stylesheet in this example will be used to create an HTML transformation of the above template XML file. The transformed file (HTML web rendition) will display the name of the content file (object_name attribute) that is created using the above template.

Create an XSL file (as shown in figures 15.16 and 15.17) and import it within the Docbase at the following location: /Site Manager/Presentations/Editor/Custom_Presentations.

Figure 15.16: Sample XSL file using XDQL

15.17: Sample XSL file using XDQL—continued

We will now discuss the anatomy of the above XSL stylesheet:

  • Namespaces: Add the following Java and Xalan namespaces...