Skip to Content
Office 2003 XML
book

Office 2003 XML

by Simon St. Laurent, Mary McRae, Evan Lenz
May 2004
Beginner to intermediate
592 pages
16h 29m
English
O'Reilly Media, Inc.
Content preview from Office 2003 XML

Appendix D. Using DTDs and RELAX NG Schemas with Office

While Microsoft has chosen to use XSD as the schema language throughout its product line, there are at least two other strong schema languages in regular use today. Both Document Type Definitions (DTDs) and RELAX NG (pronounced “relaxing” but no longer an acronym) are much simpler than XSD, and both offer features that go beyond those in XSD, though in different ways. Developers who need or prefer to integrate DTDs or RELAX NG with Microsoft Office can do so by converting these schemas into XSD with Trang, a very simple but powerful translation tool.

If you need a more detailed explanation of DTDs, any introductory XML book should provide a lot of information. For a more thorough explanation of RELAX NG, see Eric van der Vlist’s RELAX NG (O’Reilly).

XML.com also has a number of excellent articles on RELAX NG and RELAX NG compact syntax that go beyond the coverage in this appendix. To test RELAX NG schemas and perform conversions of either DTDs or RELAX NG schemas into XSD, you’ll want to download James Clark’s Trang package from http://www.thaiopensource.com/relaxng/trang.html. Trang requires that you have a Java runtime installed, but includes all the Java classes it needs in two Java JAR packages.

Tip

If you’re working with existing vocabularies that use DTDs, you’ll definitely need to know how to work with DTDs. Otherwise, if you’re creating new vocabularies, you may want to work with RELAX NG instead.

What Are DTDs?

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

XML in Office 2003: Information Sharing with Desktop XML

XML in Office 2003: Information Sharing with Desktop XML

Charles F. Goldfarb, Priscilla Walmsley
Microsoft® Excel® 2010 Formulas & Functions Inside Out

Microsoft® Excel® 2010 Formulas & Functions Inside Out

Helmut Reinke Egbert Jeschke Sara Unverhau, Eckehard Pfeifer, Bodo Fienitz, and Jens Bock
XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald

Publisher Resources

ISBN: 0596005385Purchase bookErrata Page