Dino Esposito - XML Programming for MS dotNET.pdf

(7076 KB) Pobierz
Microsoft Word - Applied XML Programming for Microsoft .Net.doc
15297451.004.png
 
Applied XML Programming for Microsoft .NET
Dino Esposito
Microsoft Press
A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399
Copyright © 2003 by Dino Esposito
All rights reserved. No part of the contents of this book may be reproduced or
transmitted in any form or by any means without the written permission of the publisher.
Library of Congress Cataloging-in-Publication Data [ pending.]
Esposito, Dino, 1965-
Applied XML Programming for Microsoft .NET / Dino Esposito
p. cm.
Includes index.
ISBN 0-7356-1801-1
1. XML (Document markup language) 2. Microsoft .NET. I. Title.
QA76.76.H94 E85 2002
005.7'2--dc21 2002029546
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWT 7 6 5 4 3 2
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For
further information about international editions, contact your local Microsoft Corporation
office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our
Web
at
www.microsoft.com/mspress .
Send
comments
to:
< mspinput@microsoft.com >.
ActiveX, IntelliSense, JScript, Microsoft, Microsoft Press, MS-DOS, Visual Basic, Visual
Studio, Win32, Windows and Windows NT are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other countries. Other
product and company names mentioned herein may be the trademarks of their
respective owners.
The example companies, organizations, products, domain names, e-mail addresses,
logos, people, places, and events depicted herein are fictitious. No association with any
real company, organization, product, domain name, e-mail address, logo, person,
place, or event is intended or should be inferred.
Acquisitions Editor: Anne Hamilton
Project Editor: Lynn Finnel
Technical Editor: Marc Young
Body Part No. X08-81851
site
15297451.005.png 15297451.006.png 15297451.001.png
Dino Esposito
Dino Esposito is Wintellect's ADO.NET and XML expert and a trainer and consultant
who specializes in .NET and Web applications. A frequent speaker at popular industry
events such as Microsoft TechEd, VSLive!, DevConnections, and WinSummit, Dino is
also a prolific author writing the monthly "Cutting Edge" column for MSDN Magazine
and the "Diving into Data Access" column for MSDN Voices . He also regularly
contributes to a number of other magazines, including Visual Studio Magazine , CoDe
Magazine , and asp.netPRO Magazine ( http://www.aspnetpro.com ). During a few rare
moments of spare time, Dino cofounded http://www.vb2themax.com , a Web site for
Visual Basic and Visual Basic .NET developers.
Fond of sea and beaches, Dino lives in Italy, precisely in the Rome area, with his wife,
Silvia, and two children—Francesco and Michela.
To Silvia, Francesco, and Michela
Acknowledgments
I can say it now: Several times I was about to start an XML book project, but then for
one reason or another the project never took off. So I'd like to start by saying thanks to
the people who believed in a fairly confused book idea and worked to make it happen.
These people are Anne Hamilton and Jeannine Gailey. (By the way, all the best,
Jeannine!)
Lynn Finnel brought the usual fundamental contribution as project editor. As Lynn
originally described her role in the first e-mail we exchanged, being an editor is a
delicate art, as you have to reconcile the needs of many people while meeting your own
deadlines. Thanks again, Lynn.
And a warm thanks goes to Jennifer Harris, who edited the book, and technical
reviewers Marc Young, Jim Fuchs, Julie Xiao, and Jean Ross.
Other people were involved with this book, mostly as personal reviewers. Francesco
Balena tested some of the code and provided a lot of insight. In particular, Giuseppe
Dimauro and Giuseppe Guerrasio helped to figure out the intricacies of the
XmlSerializer class, and Ralph Westphal did the same with custom readers. Kenn
Scribner has been the ideal extension to the MSDN documentation about Web
15297451.002.png
services. Rainer Heller of Siemens offered a really interesting perspective on Web
services interoperability. It was nice to discuss Web services in the more general
context of a conversation based on the World Football Championships—an indirect
demonstration that Web services are still interoperable today!
Thanks to all the Wintellect guys, and Jason Clark and Jeffrey Richter, in particular, for
their friendly and effective support.
And now my family. I've noticed that many authors, when writing acknowledgments,
promise their families that they will never repeat the experience. Although rewarding for
themselves, they explain, writing a book is too hard on the rest of the family to be
repeated. I'll be honest and sincere here. So, Silvia, and Francesco and Michela, set
your mind at rest. I will do all I can to write even more books. But I love you all beyond
imagination.
—'til the next book
Dino
15297451.003.png
Table of Contents
Applied XML Programming for Microsoft .NET
Introduction
Part I - XML Core Classes in the .NET Framework
Chapter 1 - The .NET XML Parsing Model
Chapter 2 -XML Readers
Chapter 3 - XML Data Validation
Chapter 4 -XML Writers
Part II - XML Data Manipulation
Chapter 5 - The XML .NET Document Object Model
Chapter 6 - XML Query Language and Navigation
Chapter 7 - XML Data Transformation
Part III - XML and Data Access
Chapter 8 - XML and Databases
Chapter 9 - ADO.NET XML Data Serialization
Chapter 10 - Stateful Data Serialization
Part IV - Applications Interoperability
Chapter 11 - XML Serialization
Chapter 12 - The .NET Remoting System
Chapter 13 - XML Web Services
Chapter 14 - XML on the Client
Chapter 15 - .NET Framework Application Configuration
Afterword
Index
List of Figures
List of Tables
List of Sidebars
Zgłoś jeśli naruszono regulamin