Home > Store > Web Services > XML

larger cover

Add To My Wish List

The XML Companion, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Reviews
  • Sample Content

XML is one of the most exciting recent developments to hit the World Wide Web, enabling the further expansion of Web technology into new domains of content management, audience targetted presentation and distributed document processing. If you’re a current or potential XML user looking for just one reference to get you up to speed on XML with clarity, comprehensive coverage and precision, then this book will be your essential and constant companion.

Building on the success of the first edition of The XMLCompanion, Neil Bradley has updated this accessible, in-depth reference to release 1.0 of the XML standard to incorporate the results of the high degree of activity that has surrounded the standard since its release. This edition now contains the complementary standards that have been released, including detailed coverage of DOM 1.0, SAX 1.0, CSS 2 and NameSpaces 1.0, as well as describing the latest, most stable drafts of XSL & XSLT, Xlink & Xpointer.

The XML Companion:
• provides an accessible, comprehensive description of each XML feature
• does not assume experience of either HTML or SGML
• features a series of ‘Road Map’ charts that reveal the structure of the XML standard
• contains an extensive glossary of XML and related terminology
•provides up-to-date coverage of all complementary standards

New to this edition:
NEW – Detailed coverage of DOM 1.0, SAX 1.0, CSS 2 and NameSpaces 1.0
NEW – Describes latest drafts of XSL & XSLT, Xlink & XPointer
NEW – Covers recently proposed standards – XHTML and XML Catalog



0201674866B04062001

Customer Reviews

11 of 12 people found the following review helpful
3.0 out of 5 stars Handy reference book, March 24, 1999
By A Customer
This review is from: The Xml Companion (Paperback)
All reference books should be this short. The XML Companion is generally clear and concise and does a nice job of relating XML to its cousins SGML and HTML. The examples are easy to follow, although the diagrams are often messy--too many arrows pointing this way and that, obscuring parts of the drawing. The charts, tables, and glossary are extremely handy.

Unfortunately, two chapters (XLL and XSL) are based on specifications that haven't even become official W3C recommendations yet--why waste the paper and ink on something you know will be outdated by the time the book appears in print? Apparently some marketing bozo at Addison-Wesley decided this was the way to go.

Worse, despite its helpful content, every chapter of this book is riddled with typos and other lapses in copyediting and proofreading, which is an embarrassment to the author and a disgrace to the publisher. One expects better of Addison-Wesley--or at least I used to. The proofreader of this book should be... Read more

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful
4.0 out of 5 stars Useful and comprehensive, April 21, 2003
By 
David Elder "elddm" (Boston, Ma United States) - See all my reviews
(REAL NAME)   
Bradley's book is a pretty complete guide to XML and related technologies. The main chapters are almost tutorial in style, with plenty of code examples to follow. The end of the book contains a small reference section. The topics covered are XML, XSL, XSLT, DOM, SAX, XPath, Schemas, XLink, XHTML, and CSS. Discussions are for the most part clear and accurate. I have two main complaints about Bradley. First, the prose, while accurate, is often overly verbose. It could be written more concisely and compactly. Second, each chapter is broken into sections, but the sections are not numbered, so it is difficult to locate material in the text. The main advantage is the comprehensive general coverage of XML-related technologies. Buying this one book will arm you with the knowledge to develop XML applications and content, and it will save you money. If you have very specific needs, you may need to supplement Bradley with another more focused text that delves deeper into a particular... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful
5.0 out of 5 stars Wonderful book, clear and to the point for XML professionals, January 16, 2002
By 
Isystek, Inc. "reviewer" (MI United States) - See all my reviews
(REAL NAME)   
This book is clearly not for a beginner, nor should it be. Many reviews give it less than five stars due to the fact that it's a bad tutorial. Well it wasn't designed as one, as you should see in the title XML **Companion**. It's designed as a thorough reference of XML and related technologies. Neil is really up to date with his stuff. I couldn't find another book, (and I've skimmed through all of them), that covers everything. Coverage of technical issues like white space normalization, Relax, Trex, Relax NG, etc... It's wondeful.
Please don't buy this book as a tutorial, but rather as a desktop reference. It's a must on all XML programmer's bookshelves.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 22 customer reviews...

Preface

Preface

The Extensible Markup Language is a powerful publishing and document interchange format. Developed by the World Wide Web Consortium, it was released, to widespread acclaim, in 1998. XML has a superficial resemblance to HTML, the established language of the Web, but information held in this format is self-describing - it can be extracted, manipulated and formatted to the requirements of any target audience or publishing medium.


XML should be of interest to HTML designers who need more flexibility to manage and customize their documents, to SGML users seeking advanced yet modestly priced applications, and to software developers requiring a flexible storage or interchange format that has powerful supporting tools.

The XML Companion serves the programmer, analyst or consultant involved in the management, processing, transfer or publication of XML documents. Detailed study of XML is supported by the inclusion of cross-referenced 'road maps' of the building blocks that comprise the standard, and an extensive glossary. Related standards for cataloguing, linking and styling XML files are also covered in detail.

This edition
The first edition of this book was completed within weeks of the release of the XML standard. Since that time, no significant pressure to modify or enhance the core standard has emerged. Justification for a new edition of this book therefore rests upon the high degree of activity surrounding XML. Complementary standards for processing, presenting and merging XML data have since been released, and this edition provides detailed coverage of DOM 1.0, SAX 1.0, CSS 2 and Namespaces 1.0. Other standards have progressed, but are still being refined, so this edition simply describes later, more stable drafts of XSL (now divided into XSL and XSLT) and XLL (now divided into XLink and XPointer). Other proposed standards have only very recently emerged. The next version of HTML (XHTML) will be an application of XML (instead of SGML), and the XML Catalog proposal defines a standard scheme for managing the mapping of entity identifiers to local system files. A new scheme for navigating around XML documents, called XPath, will be utilised by the linking and styling standards.

This opportunity has been taken to rectify a number of minor syntactic and grammatical mistakes, as well as a few factual errors, and thanks are due to readers of the first edition for highlighting many of these issues.

Very little material from the first edition has been omitted, so the new book is a little larger than before. Despite this, it is hoped that the book can still serve as a 'companion' for those who are constantly on the move.

Acknowledgements
A repeated thanks to all those mentioned in the first edition of this book, as their contributions remain relevant. In addition, a number of readers of the first edition have contributed suggestions and observations that have helped improve the quality of this work, and their efforts are appreciated. Finally, thanks once again to Adobe for FrameMaker+SGML (which was used both in the preparation and publication of this book).

Feedback
Comments and suggestions for a possible future edition are welcome. They should be sent to the author, who can be found at neil@bradley.co.uk. Updates, additions and corrections can be obtained from the author's Web page, located at 'http://www.bradley.co.uk', which also contains links to various XML and SGML related sites.

Neil Bradley
August1999



0201674866P04062001

Table of Contents



Preface.


1. Using This book.

Book structure.

Style conventions.

The XML Standard.



2. Overview.

What is XML?

Data exchange applications.

Document publishing applications.

Historical context.

The future.

Syntax overview.



3. Document markup.

Concepts.

Traditional markup.

Elements.

Attributes.

Reserved attributes.

Declarations.

Processing instructions.



4. Physical structure (entities).

Concepts.

Defining an entity.

Character defining entities.

Usage limitations Error!



5. Logical structure (the DTD).

Concepts.

DTD structure.

Element declarations.

Attribute declarations.

Parameter entities.

Conditional sections.

Notation declarations.

DTD processing issues.

Working with XML.



6. Document modelling (DTD design).

Analysis.

DTD design.

Tables.

Architectural forms.

Writing the DTD.

Debugging the DTD.

Case study (this book).

Case study (a DTD for DTDs).



7. White space issues.

White space.

Line-end normalization.

White space in markup.

Element content space.

Preserved space.

Ambiguous space.



8. Namespaces.

Compound documents.

The standard.

Namespace identification.

Using namespaces.

Simplification techniques.

DTD issues.



9. Processing XML data.

Concepts.

Writing XML.

Reading XML.

Event processing.

Tree manipulation.

Events or trees?

Transformation tools.



10. Managing XML documents.

Concepts.

External entity management.

XML Catalog format.

Database storage.

Adjunct Standards.



11. Navigating with (URL and XPath).

Locating documents (URLs).

Inside XML documents (XPaths).

Expressions.

Location paths.

Patterns.

Predicate filters.



12. Hypertext links (XLink and XPointer).

Concepts.

XML syntax basic links.

XML linking specification.

Extending URLs.

Xpointers.

Link behaviour.

Attribute name conflicts.

Link value strategies.



13. Document formatting (XSL and XSLT).

Concepts.

Selecting a style sheet.

XSLT.

Style sheets DTD issues.

XSL.



14. SAX 1.0.

Background.

Call-backs and interfaces.

Java implementation.

The parser.

Document handlers.

Attribute lists.

Error handlers.

Locators.

DTD handlers.

Input sources.

Entity resolvers.

Handler bases.



15. DOM 1.0.

Java implementation.

Nodes.

The Sun tree-walker.

Documents.

Document types.

Elements.

Attributes.

Character data.

Text.

Character data sections.

Comments.

Processing instructions.

Entities and notations.

Node lists.

Named node maps.

Document fragments.

DOM implementation.

Related standards.



16. Character sets.

Characters.

ASCII.

Extended ASCII.

Unicode and ISO/IEC 10646.

Character set declarations.

Entities for characters.



17. Cascading style sheets (CSS).

Background.

Format overview.

Styling properties.

Simple element mapping.

Contextual rules.

Accessing and overriding styles.

XML specifics.

Batch composition to HTML.

HTML features.

CSS 2.



18. The Internet and HTML.

The Internet.

HTTP and HTML.

HTML 2.0.

HTML 3.2.

HTML 4.0.

XHTML 1.0 (draft).

Mixing HTML with XML.



19. SGML.

Concepts.

The SGML Declaration.

Extra DTD features.

Markup minimization techniques.

Converting to XML.

Reference.



20. Charts and tables.

Acronyms list.

Useful Web pages.

XML design goals.

XML fragments.

SAX methods.

DOM methods.

XSL formatting objects and properties.

CSS properties.

This book DTD.

ISO 8859/1 character set.

ISO 639 language codes.

ISO 3166 country codes.

HTML 2/3/4 elements and attributes.



21. XML road map.

Map formats.

Content lists.

Maps.



Glossary.


Index. 0201674866T04062001

 
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.