Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
Copyright 2003 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
Manufactured in the United States of America.
10 9 8 7 6 5 4 3 2 1
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, e-mail: email@example.com.
Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created or extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages.
For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993, or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Control Number: 2002110288
Trademarks: Wiley, the Wiley Publishing logo and related trade dress are trademarks or registered trademarks of Wiley Publishing, Inc., in the United States and other countries, and may not be used without written permission. Altova and XMLSPY are trademarks of Altova GmbH registered in numerous countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc. is not associated with any product or vendor mentioned in this book.
This book is dedicated to my good friend, Kay Lee Park.
I would like to acknowledge Alexander Falk, president and CEO of Altova, Inc., for his inspiration and leadership. Alex, you are a great person to work for! I would also like to say thanks to my coworkers at Altova who have made showing up for work quite enjoyable for me: Christina, Allyson, Tina, Andrea, Chris, Nancy, Gerry, Trace, Steve, Jon, Liz, and Amberlee. A special thanks to Christian Gross for writing Chapters 6, 7, and 8. Finally, thanks to Chris Webb and Jodi Jensen for their help and patience with me when deadlines were looming.
About the Author
Larry Kim is a technical director with Altova, Inc., producer of the industry-leading XML development environment, XMLSPY. He works out of Altova’s U.S. offices on the North Shore of Boston, Massachusetts, and writes various XML developer resources, such as the XMLSPY newsletter.
Larry has coauthored several books on Java programming and co-wrote the XMLSPY_—_XML Developer Certification exam, which is offered by Prometric in the U.S. and Canada.
Prior to his association with Altova, Larry was the product manager for Macromedia’s JRun Server, a popular J2EE Server. He is a frequent speaker at industry conferences, including the XML 2001 Conference & Expo and JavaOne, the official Sun Microsystems Java Developer’s Conference. Larry has an undergraduate degree in electrical engineering from the University of Waterloo, in Canada, and is currently pursuing a graduate degree in computer science.
Vice President and Publisher
Joseph B. Wikert
Executive Editorial Director
Graphics and Production Specialists
Sean Decker Clint Lahnen Mary Virgin
Johnna VanHoose Dinse
Senior Project Editor
Mary Beth Wakefield
Vice President and Executive Group Publisher
Vice President and Executive Publisher