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

17.2 Instruction File Examples


Let us take a few examples to understand how Instruction Files work in Documentum.

17.2.1 Deleting an XML Element from an XML File with <delete-element>

Let us walk through a very simple example where content is created from a simple template XML file and later an XML element is removed from the template file. The existing content is updated via a simple Instruction File using the <delete-element> instruction.

  1. 1. Create a Template file (Original_Template.xml) and its associated Rules file (Original_TemplateRules.xml) as per the following structure:

    Template File Original_Template.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <PRODUCTINFO>
    <NAME/>
    <SHORTDESC/>
    <COST/>
    <PRODUCTTYPE/>
    </PRODUCTINFO>
    <?xml version="1.0" encoding="UTF-8"?>
    <rules>
    <tagcontent tag_name="NAME">
    <textline instruction="Please enter a name" label="Product name:" required="Y">
    </textline>
    </tagcontent&gt...