Book description
Praise for Effective XML
“This is an excellent collection of XML best practices: essential reading for any developer using XML. This book will help you avoid common pitfalls and ensure your XML applications remain practical and interoperable for as long as possible.”
—Edd Dumbill, Managing Editor, XML.com and Program Chair, XML Europe
“A collection of useful advice about XML and related technologies. Well worth reading both before, during, and after XML application development.”
—Sean McGrath, CTO, Propylon
“A book on many best practices for XML that we have been eagerly waiting for.”
—Akmal B. Chaudhri, Editor, IBM developerWorks
“The fifty easy-to-read items cover many aspects of XML, ranging from how to use markup effectively to what schema language is best for what task. Sometimes controversial, but always relevant, Elliotte Rusty Harold’s book provides best practices for working with XML that every user and implementer of XML should be aware of.”
—Michael Rys, Ph.D., Program Manager, SQL Server XML Technologies, Microsoft Corporation
“Effective XML is an excellent book with perfect timing. Finally, an XML book everyone needs to read! Effective XML is a fount of XML best practices and solid advice. Whether you read Effective XML cover to cover or randomly one section at a time, its clear writing and insightful recommendations enlighten, entertain, educate, and ultimately improve the effectiveness of even the most expert XML developer. I’ll tell you what I tell all my coworkers and customers: You need this book.”
—Michael Brundage, Technical Lead, XML Query Processing, Microsoft WebData XML Team
“This book provides great insight for all developers who write XML software, regardless of whether the software is a trivial application-specific XML processor or a fullblown W3C XML Schema Language validator. Mr. Harold covers everything from a very important high-level terminology discussion to details about parsed XML nodes. The well-researched comparisons of currently available XML-related software products, as well as the key criteria for selecting between XML technologies, exemplify the thoroughness of this book.”
—Cliff Binstock, Author, The XML Schema Complete Reference
If you want to become a more effective XML developer, you need this book. You will learn which tools to use when in order to write legible, extensible, maintainable and robust XML code.
Page 36: How do you write DTDs that are independent of namespace prefixes? Page 82: What do parsers reliably report and what don't they? Page 130: Which schema language is the right one for your job? Page 178: Which API should you choose for maximum speed and minimum size? Page 257: What can you do to ensure fast, reliable access to DTDs and schemas without making your document less portable? Page 283: Is XML too verbose for your application?
Elliotte Rusty Harold provides you with 50 practical rules of thumb based on real-world examples and best practices. His engaging writing style is easy to understand and illustrates how you can save development time while improving your XML code. Learn to write XML that is easy to edit, simple to process, and is fully interoperable with other applications and code. Understand how to design and document XML vocabularies so they are both descriptive and extensible. After reading this book, you'll be ready to choose the best tools and APIs for both large-scale and small-scale processing jobs. Elliotte provides you with essential information on building services such as verification, compression, authentication, caching, and content management.
If you want to design, deploy, or build better systems that utilize XML—then buy this book and get going!
Table of contents
- Copyright
- Praise for Effective XML
- Effective Software Development Series
- Preface
- Introduction
- Syntax
-
Structure
- Make Structure Explicit through Markup
- Store Metadata in Attributes
- Remember Mixed Content
- Allow All XML Syntax
- Build on Top of Structures, Not Syntax
- Prefer URLs to Unparsed Entities and Notations
- Use Processing Instructions for Process-Specific Content
- Include All Information in the Instance Document
- Encode Binary Data Using Quoted Printable and/or Base64
- Use Namespaces for Modularity and Extensibility
- Rely on Namespace URIs, Not Prefixes
- Don't Use Namespace Prefixes in Element Content and Attribute Values
- Reuse XHTML for Generic Narrative Content
- Choose the Right Schema Language for the Job
- Pretend There's No Such Thing as the PSVI
- Version Documents, Schemas, and Stylesheets
- Mark Up According to Meaning
- Semantics
-
Implementation
- Write in Unicode
- Parameterize XSLT Stylesheets
- Avoid Vendor Lock-In
- Hang On to Your Relational Database
- Document Namespaces with RDDL
- Preprocess XSLT on the Server Side
- Serve XML+CSS to the Client
- Pick the Correct MIME Media Type
- Tidy Up Your HTML
- Catalog Common Resources
- Verify Documents with XML Digital Signatures
- Hide Confidential Data with XML Encryption
- Compress if Space Is a Problem
- Recommended Reading
Product information
- Title: Effective XML: 50 Specific Ways to Improve Your XML
- Author(s):
- Release date: September 2003
- Publisher(s): Addison-Wesley Professional
- ISBN: 0321150406
You might also like
book
Special Edition Using XML, Second Edition
Special Edition Using XML, Second Edition gives developers a formal introduction to XML technology, starting with …
book
.NET & XML
If you're seeking ways to build network-based applications or XML-based web services, Microsoft provides most of …
book
XML Pocket Reference, 3rd Edition
XML, the Extensible Markup Language, is everywhere: the syntax of choice for newly designed document formats …
book
Beginning XML, 4th Edition
When the first edition of this book was written, XML was a relatively new language but …