Skip to Main Content
Professional Microsoft® SQL Server® 2008 Reporting Services
book

Professional Microsoft® SQL Server® 2008 Reporting Services

by Paul Turley, Thiago Silva, Bryan C. Smith, Ken Withee
December 2008
Beginner to intermediate content levelBeginner to intermediate
815 pages
20h 1m
English
Wrox
Content preview from Professional Microsoft® SQL Server® 2008 Reporting Services

Appendix A. RDL Object Model

The Report Definition Language (RDL) is a schema-defined XML specification for how a report file should be structured. In order for Reporting Services to interact with the structure of a report, it needs to understand the RDL schema so that it knows which elements represent which pieces of functionality within the report. Although a simple parsing of the XML document, using the XML Document Object Model (DOM) and an XML querying language such as XPath, would technically enable you to extract this information, it would make for very lengthy and cumbersome code to maintain.

Instead, Reporting Services provides a representation of the RDL schema in an object-oriented fashion. What that means is that the RDL schema in Reporting Services was modeled using objects and properties, all available from a public library, which can be used to examine and manipulate the RDL document. This piece of functionality is called the RDL Object Model.

In previous versions of Reporting Services, the object model was not released as a public library and was only available internally to Reporting Services. This meant that a developer had to generate his or her own custom object model based on the RDL schema provided.

You might be asking, "When would I need to use the RDL Object Model?" If you have requirements to generate RDL files on-the-fly or to change any properties of report items, programmatically, this is a great way to do so. It allows for a very flexible platform that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® SQL Server® 2008 Reporting Services Step by Step

Microsoft® SQL Server® 2008 Reporting Services Step by Step

Stacia Misner
Beginning, Microsoft® SQL Server® 2008 Administration

Beginning, Microsoft® SQL Server® 2008 Administration

Chris Leiter, Dan Wood, Albert Boettger, Michael Cierkowski
Professional SQL Server™ 2005 Integration Services

Professional SQL Server™ 2005 Integration Services

Brian Knight, Allan Mitchell, Darren Green, Douglas Hinson, Kathi Kellenberger, Andy Leonard, Erik Veerman, Jason Gerard, Haidong Ji, Mike Murphy

Publisher Resources

ISBN: 9780470242018Purchase book