xhtml.pdf

(4565 KB) Pobierz
Microsoft Word - XHTML - Moving Toward XML -- M&T Books.doc
XHTML: Moving Toward XML
by Simon St. Laurent and B.K. DeLong
ISBN: 0764547097
Wondering if you should take the plunge into XML? Here’s
the easiest way to do it.
Table of Contents
Back Cover
Synopsis by John E. Simpson
XHTML is the nascent but already successful blending of classic HTML with
the structured “data smarts” of XML. Authors Simon St. Laurent and B.K.
DeLong -- both active participants in the grass-roots Web Standards Project --
take you on a grand tour of the why's and how's of the new markup language.
From the very basics, which assumes no prior knowledge of XML, on up to
such advanced topics as transforming “pure XML” to XHTML and creating
modularized combinations of XHTML and XML elements, they lead you with
clarity and dry wit right up to the doorstep of creating and processing your own
XHTML documents. Most importantly, they do an excellent job of laying out
the necessary steps in converting regular HTML to its sleeker -- indeed, in all
ways better -- counterpart.
- 2 -
M&T Books © 2000, 435 pages
Table of Contents
Part I The HTML Problem: The XML Solution
Chapter 1 - A Fresh Start: Moving From HTML to XHTML - 7
Chapter 2 - HTML and XHTML Application Possibilities - 12
Part II The Ins and Outs of XHTML
Chapter 3 - Coding Styles: HTML's Maximum Flexibility - 18
Chapter 4 - Coding Styles— XML and XHTML's Maximum Structure - 24
Chapter 5 - Anatomy of an XHTML Document - 32
Chapter 6 - Reading the XHTML DTDs: A Guide to XML Declarations - 63
Chapter 7 - Exploring the XHTML DTDs - 74
Chapter 8 - Style Sheets and XHTML - 80
Part III Making the Big Jump
Chapter 9 - Using XHTML in Traditional HTML Applications - 99
Chapter 10 - The Big Clean-Up: Fixing Static HTML (The Easy Part) - 102
Chapter 11 - The Big Clean-Up: Fixing HTML Generating Code (The Hard
Part) - 123
Part IV Moving Forward into XML
Chapter 12 - Using XSL to Generate (X)HTML - 129
Chapter 13 - Integrating the Document Object Model with XHTML
Generation - 138
Chapter 14 - Moving to Modules: Creating Extensible Document Structures
with XHTML 1.1 - 149
Chapter 15 - Fragmenting XHTML - 155
Chapter 16 - Extending XHTML - 167
Chapter 17 - XHTML Inside XML: Using XHTML in an XML Context - 177
Part V XHTML and XML Futures
Chapter 18 - A Case Study: WAP and the Wireless Markup Language - 184
Chapter 19 - A Case Study: Mozquito Factory and FML - 194
Chapter 20 - XML and the Next Generation of the Web - 228
Part VI Appendixes
Appendix A - XHTML Elements, by DTD - 232
Appendix B - Commonly Used Encodings - 246
Appendix C - Language Identifiers - 247
Appendix D - Country Codes - 249
List of Figures
List of Tables
List of Sidebars
- 3 -
XHTML - Moving Toward XML - 4
Preface - 6
Back Cover
XHTML promises to expand the power and versatility of the Web and pave the
way for XML. But how do you put XHTML to work? Or adapt your existing
HTML applications to this new standard?
This book provides the answers. With crystal-clear explanations and
compelling case studies, XML maven Simon St.Laurent walks you through the
ins and outs of XHTML and shows you step-by-step how to take advantage of
this new Web standards. From working with the rigorous XHTML structure
and retrofitting your HTML code to extending XHTML with XML, this guide is
just what you need to position yourslef and your sites for the XML future.
Your road map to a smooth XHTML transition
Compare the maximum flexibility of HTML with the maximum
structure of XHTML
Explore XHTML Document Type Definitions and style sheet issues
Clean up HTML to make it XHTML compatible -- and overhaul ASP,
JSP, and CGI applications that generate HTML
Integrate the Document Object Model with XHTML generation
Use modules to create flexible documents and extend XHTML with
XML
See how XML facilitates wireless Web browsing and how Mozquito
Factory facilitates the transition to XHTML modularization
Preview the XML-enabled Web of the future -- intelligent agents,
machine-to-machine communication, and more
About the Authors
Simon St.Laurent is an experienced Web developer whose clients range from
small start-ups to Fortune 500 corporations. His books include Building XML
Applications , Inside XML DTDs , XML: Elements of Style , Teach Yourself
Microsoft Active Server Pages 3 , and XML: A Primer , now in its second
edition.
B.K. DeLong is research lead for the Web standards consultancy ZOT Group,
a staff member of the computer security site Attrition.org, and a member of the
Web Standards Project steering committee.
XHTML: Moving Toward XML
Simon St. Laurent and B.K. DeLong
Published by
M&T Books
An imprint of IDG Books Worldwide, Inc.
919 E. Hillsdale Blvd., Suite 400
Foster City, CA 94404
www.idgbooks.com (IDG Books Worldwide Web site)
Copyright © 2000 IDG Books Worldwide, Inc. All rights reserved. No part of this book, including interior
design, cover design, and icons, may be reproduced or transmitted in any form, by any means
(electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher.
ISBN: 0-7645-4709-7
Library of Congress Cataloging-in-Publication Data
St. Laurent, Simon.
XHTML:moving toward XML / Simon St. Laurent,
B.K. DeLong.
p. cm.
- 4 -
 
ISBN 0-7645-4709-7 (alk. paper)
1. XHTML (Document markup language) 2. XML (Document markup language) I. DeLong, B. K. II. Title.
QA76.76.H94 S725 2000
005.7'2--dc21 00-055890
CIP
Trademarks: All brand names and product names used in this book are trade names, service marks,
trademarks, or registered trademarks of their respective owners. IDG Books Worldwide is not
associated with a ny product or vendor mentioned in this book.
is a registered trademark or trademark under exclusive license to IDG Books
Worldwide, Inc. from International Data Group, Inc. in the United States and/or
other countries.
is a trademark of IDG Books Worldwide, Inc.
Credits
ACQUISITIONS EDITORS
Ann Lush
Judy Brief
Grace Buechlein
PROJECT EDITOR
Andy Marinkovich
TECHNICAL EDITOR
Steven Champeon
COPY EDITOR
Victoria Lee
PROOF EDITOR
Neil Romanosky
PROJECT COORDINATORS
Danette Nurse
Louigene A. Santos
DESIGN SPECIALISTS
Kurt Krames
Kippy Thomsen
COVER ILLUSTRATION
Noma/ © images.com
GRAPHICS AND PRODUCTION SPECIALISTS
Robert Bihlmayer
Jude Levinson
Victor Pérez-Varela
Ramses Ramirez
QUALITY CONTROL TECHNICIAN
Dina F Quan
BOOK DESIGNER
Jim Donohue
ILLUSTRATORS
Rashell Smith
Brian Drumm
Mary Jo Weis
Gabriele McCann
PROOFREADING AND INDEXING
York Production Services
About the Authors
Simon St. Laurent is a web developer, network administrator, computer book author, and XML
troublemaker, and currently resides in Ithaca, NY. His books include XML: A Primer; XML Elements of
Style; Building XML Applications; Cookies; and Sharing Bandwidth. He is a contributing editor to
xmlhack.com , an occasional contributor to XML.com , and moderator of the XHTML-L mailing list.
B.K. DeLong is Research Lead for Web standards consultancy ZOT Group, staff member of computer
security site Attrition.org, and general Web standards troublemaker (read: member of the Web
Standards Project steering committee). He lives on the North Shore of Massachusetts with his wife and
two cats.
- 5 -
Zgłoś jeśli naruszono regulamin