UGN User Group Bookshelf

RELAX NG is "Relaxing"


Book Review byA Simpler Schema Language for XML

The beauty of XML is that it is extensible, even to the point that developers can invent new elements and attributes as they write XML documents. Then, however, they need to define their changes so applications will be able to make sense of them. This is where XML schema languages come into play. In his new book, "RELAX NG" (O'Reilly, US $29.95), author Eric van der Vlist introduces the Regular Language Description for XML Core--New Generation, or RELAX NG (pronounced "relaxing"), an alternative to other schema languages that's quickly gaining momentum. Designed to solve a variety of common problems raised in the creation and sharing of XML vocabularies, RELAX NG is less complex than the W3C's XML Schema Recommendation and much more powerful and flexible than DTDs.

"XML schema languages are a nice idea as long as they don't become so complicated that XML vocabularies built using them are difficult to extend," says van der Vlist. "Unfortunately, that's what was starting to happen before RELAX NG appeared. W3C XML Schema, the dominant XML schema language, is so complex and incorporates ideas from so many conflicting fields that it is difficult to learn, difficult to extend--yet its expressive power is still too limited to describe all the possibilities offered by XML!" Although many applications will to use this mammoth language, van der Vlist adds, many people need the lighter-weight, simpler alternative found in RELAX NG.

Van der Vlist asserts that RELAX NG is easier, more reliable, and safer to use than W3C XML Schema for two primary reasons: RELAX NG has a sound mathematical grounding and focuses on doing a single thing perfectly well--validating the structure of XML documents.

The book explores this new schema vocabulary from its clean foundations through best practices to integration with other data-description approaches. "RELAX NG" explains both the XML syntax and the compact syntax in depth, showing how to use every pattern in both syntaxes with clear, straightforward examples.

RELAX NG offers developers a refreshing approach to describing XML, whether they're defining XML vocabularies for interchange or supporting new metadata in a publishing environment. This book provides a complete guide to this exciting new technology, from how to get started to how best to apply it to many different kinds of XML problems.

RELAX NG is "Relaxing"
Eric van der Vlist; 506 pages, $29.95 US, $43.95 CA (Click here and save up to 30%); 0402-09; Click above for more details or to purchase.

Reviewed by Kathryn Barrett

 
Browse more books:

In the User Group Bookshelf. If you would like to review a book for the User Group Bookshelf, just contact the Editor, or if you would like to submit your own book or book review use our Reviews input form.
Check out the latest articles in the
User Group Library; catch up on the
MUG NEWS, or check out the latest
Shareware / Freeware Downloads.
Books for graphic designers, illustrators, desktop publishing, photography, web design, programming, and for specific image editing digital photo software like Adobe Photoshop and Illustrator go to the Designers' Bookshelf.

Credits:
O'Reilly & Associates is a favorite information source for computer technologies and caters to user groups. The company's books, conferences, and web sites bring to light the knowledge of technology innovators. O'Reilly books, known for the animals on their covers, occupy a treasured place on the shelves of the developers building the next generation of software. O'Reilly conferences and summits bring alpha geeks and forward-thinking business leaders together to shape the revolutionary ideas that spark new industries. From the Internet to XML, open source, .NET, Java, and web services, O'Reilly puts technologies on the map. For more information: http://www.oreilly.com
Footnotes:
The User Group Network is a member of: The Association of Apple Computer Users & Groups, the MUG News, and is sponsored in part by: The Design & Publishing Center, The News Serve Network, and the Designers' Bookshelf. The User Group Network is the first, and the original user group network for computer users everywhere including, Apple, Mac-Pro, User Group Organization to support Macintosh, IBM PC, Microsoft, Compaq, Amiga, BE/OS, Linux, UNIX, and other leading computer platforms. Hosting services are provided by The Graphic Design Network to serve the computing community. For information about the UGNetwork, to get involved or have your own groups' home page located at user-groups.net, please contact us. Copyright 1994 through present. This site is maintained in the community interest by The Graphic Design Network c/o Showker Graphic Arts & Design, a Corporation of the Commonwealth of Virginia, 22801, established in 1972.