Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
XML Programming with VB and ASP

Inside the book

Sample Chapters Table of Contents Errata Introduction Preface Book Reviews Source Code Author Online

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

XML Programming with VB and ASP
Mark Wilson and Tracey Wilson

1999 | 320 pages
ISBN: 1884777872
$34.95 Softbound print book  

Introduction

XML (eXtensible Markup Language) is the best thing since sliced bread. What HTML (Hypertext Transport Protocol) did for the World Wide Web and for distributing data around the globe is what XML is doing for eCommerce and data exchange.

We are in the midst of a growing and unprecedented amount of business-to-consumer (known as B2C) and business-to-business (known as B2B) information exchange. Selling your wares via the web, intelligent agents haggling for the best price, transparent data exchange between businesses?XML makes all of this possible and affordable!

Where will it be used? The short answer is everywhere! XML will be used on the Internet in web pages. It will be used in the Microsoft BackOffice to structure your knowledge. It will be used across platforms, across applications, and across languages. It will be the centerpiece in all distributed solutions built in the future.

Not only software developers will use XML; it will be in almost all of the products we use in the future. Wherever there is data exchange or persistence, XML will be there. You may not even know when you are using it. For example, in Microsoft Word (in Office 2000) when you choose the Save as web page menu choice, you save your document in an HTML format with XML embedded in it.

Note: XML is everywhere: In Microsoft Word 2000, when you choose the Save as web page menu choice, you save your document as an XML-HTML hybrid.

XML is an infinitely extensible language with which you can create your own markup languages. This is why XML is also referred to as a metalanguage, or a language in which you can specify other languages. This book does not go into detail on how to create your own markup languages or into the syntax details of XML. (There are thousands of books and websites for that.) What we discuss is how to apply it to your development projects. We show you code examples of how you can use the power of XML in your development projects.

The focus of this book

As more developers become familiar with the promise of XML, the Internet requirements of businesses will move beyond the simple interactive HTML pages. Businesses will want to create more wealth from their information. It has been said many times that information wants to be free, and XML will achieve this.

In this book, XML Programming With VB And ASP, we will walk you through using XML in your Microsoft IE5 (Internet Explorer 5), Microsoft Visual Interdev, and Microsoft Visual Basic 6.0 applications.

Development projects will enable direct data exchange between objects, between servers, and between remote companies across the Internet. The promise of EDI (Electronic Data Interchange) will become real, and it will be inexpensive to apply. The shift to transparent communication of almost all information will be sudden and widespread.

That is why we think this book is your key to a whole new future as a developer or IT worker. With XML and this book as your roadmap, you will discover how to build truly flexible and powerful solutions.

What will the readers of this book learn?

When you are finished reading XML Programming With VB And ASP, you will understand the basic concepts of XML and how best to use it in ASP and VB code.

The following list highlights the major topics that we will discuss.

Consulting

How your clients can benefit from XML.

Why your company should be using XML in your projects.

XML

Understanding and using the XML, DTD, and XSL files.

Understanding and using the Document Object Model document (DOM).

Understanding Schemas, entities, elements, validation, parsing, and many more XML topics.

IE5

Automating the Microsoft IE5 web browser in your code.

Using IE5 object models to expose objects such as tables and DSO 9Data Source Objects9

Data Islands: how, where, when, and why.

VB

DOM--using the Document Object Model.

Designing and using webclasses.

Using XML in a multitier solution with business objects.

Communicating between objects using XML.

ASP

Various ASP code examples of manipulating an XML file.

Using ASP pages as a central distribution point for your XML data.

Passing parameters to your ASP file and receiving the reply.

After reading this book, you are welcome to come to our home website at http://www.vbxml.com or http://www.thespot4.com to find more training links, articles, and information on discussion groups that you can join.

If you would like to meet the authors, please visit the Manning Publications website. The url http://www.manning.com/wilson has a link to the Author Online forum for this book, where you can make comments, ask technical questions, and receive help from the authors and from other users.

Target PC configuration for readers

Often a book with extensive examples of code and solutions (such as this one) can make your life as a reader quite tough by using obscure software components or having different versions of components. Many times a book will use expensive components that readers cannot afford to purchase.

We have intentionally developed these solutions on a PC that has standard, bundled, or free software components. For example, the Microsoft PWS (Personal Web Server) is easy to get a hold of and is free! Ditto for IE5 and the MDAC 2.1 (Microsoft Data Access Components), which has Y2K updates and contains ADO 2.1 (ActiveX data Object), which the code in this book uses.

For ADO 2.1 there is an upgrade if you have the older versions of ADO 1.5 or ADO 2.0. Windows 2000 provides ADO 2.5; however, this book does not cover 2.5 features (although some useful pointers to changes in how the technologies are used are provided). This code was developed and tested on a PC with the configuration listed here. To execute the examples provided in this book, you must have the same or newer components.

IE5 web browser

ADO 2.1 data access components

Microsoft PWS 1.0a

PWS has the ASP.EXE extensions installed

PWS has the Microsoft FrontPage extensions installed

Source code downloads

All source code for the examples posted in XML Programming with VB and ASP is available to purchasers of the book from the Manning website. The url http://www.manning.com/wilson includes a link to the source code files. The code is also available at www.vbxml.com.

Conventions used in this book

The following typographical conventions are used throughout the book:

Code examples and fragments are set in a fixed-width font. Courier is used for VB code. Letter Gothic is used for XML code.

Comments in code are set off with an apostrophe at the beginning of each comment line. The comment line or lines precede the line or lines of code being referenced.

Code annotations accompany certain segments of code. Footnotes are tagged with.

Code line continuations are indented.

Acknowledgements

I had often heard that writing a book was hard and stressful, but I never believed it. With a somewhat naive and casual enthusiasm, I took on this project of writing a book on XML programming with VB and ASP. Now, I know the truth.

To Trace, my gorgeous wife, thank you for your patience and for your incredible contribution to this book. To our family, extended family, and friends all around the world, this is for you!

I would like to thank all of the proofreaders and the members of the VBXML discussion group. Your contributions have been crucial to the success of this book.

We express our appreciation to the following reviewers, who provided invaluable insight into what the readers want and for the time and effort they took to read our manuscript in the various stages of development: Armand Datema, Bill Eddins, Brian Breneman, Carlos Palmisciano, Charles Hoffman, Chris Million, Earl Cox, Govind Kanshi, Howard Bolling, Jian Wang, Nikita Ogievetsky, Robert Green, Simon North, and Steve Ball.

I would also like to thank God for giving me this opportunity.

-- Mark Wilson

Writing this book has been a wonderful experience?especially knowing that this work will help so many people with this wonderful, growing technology.

My most endearing acknowledgment is to Mark.

To all our family, you give us so much love; thank you for always being so caring. Even though we are all spread out across the world, our hearts are not far. To our friends, old and new, thank you for meaning so much to Mark and me.

Special thanks also go to the patient crew from Manning Publications (Marjan Bace, Ted Kennedy, Mary Piergies, Ed Toupin, Leslie Haimes, Chris Hillman, Lee Fitzpatrick, Peter Schoenberg, Bob Kern, Jeannine Kolbush, Lynanne Fowle, and the rest of the TIPS crew, and many more people), who have assisted us through this gestation period.

I want to thank my kind Father.

-- Trace Wilson

About the Cover

The cover illustration of this book is from the 1805 edition of Sylvain Mar?chal?s four-volume compendium of regional dress customs. This book was first published in Paris in 1788, one year before the French Revolution. Its title alone require no fewer than 30 words.

Costumes Civils actuels de tous les peuples connus dessin?s d?apr?s nature grav?s et colori?s, accompagn?s d?une notice historique sur leurs coutumes, moeurs, religions, etc., etc., redig?s par M. Sylvain Mar?chal.

The four volumes include an annotation on the illustrations: ?grav? ? mani?re noire par Mixelle d?apr?s Desrais et colori?.? Clearly, the engraver and illustrator deserved no more than to be listed by their last names?after all they were mere technicians. The workers who colored each illustration by hand remain nameless.

The colorful variety of this collection reminds us vividly of how culturally apart the world?s towns and regions were just 200 years ago. Dress codes have changed everywhere and the diversity by region, so rich at the time, has faded away. It is now hard to tell the inhabitant of one continent from another. Perhaps we have traded cultural diversity for a more varied personal life?certainly a more varied and exciting technological environment. At a time when it is hard to tell one computer book from another, Manning celebrates the inventiveness and initiative of the computer business with book covers based on the rich diversity of regional life of two centuries ago, brought back to life by Mar?chal?s pictures. Just think, Mar?chal?s was a world so different from ours people would take the time to read a book title 30 words long.

DESCRIPTION

Here's a book that shows you when and how to use XML from both a programming and business perspective. Laden with source code, XML Programming with VB and ASP helps you build solutions that are flexible, future-proof, and self-describing. It will help you apply XML concepts between the client and the server and the server and data objects or data services.

Finally, you have everything a VB and ASP developer needs to keep up with the explosive growth of XML.

What's Inside:

  • Gets you programming fast with over 100 easy VB and ASP code samples
  • Advanced 3-tier solutions in UML
  • Descriptions and examples for over 50 Microsoft DOM methods and properties
  • Case studies on when to use XML in your business
  • All about XSL, DTDs, namespaces, and more
  • When and how to use webclasses, data islands, and other advanced programming concepts
  • Covers Biztalk and Schemas

Translation rights for XML Programming with VB and ASP have been granted for Brazil, China, Germany, India, Japan, and Korea. If you are interested in learning where to buy this book in a language other than English, please inquire at your local bookseller.

ABOUT THE AUTHORS...

Mark Wilson is the creator of the popular XML developer websites, VBXML.COM and theSpot4.com. He is currently working for a major software development company as a project manager and consultant. With his certification in Microsoft development products and experience in Visual Basic, he brings an easy blend of humour and experience to the book.

Tracey Wilson is a highly skilled XML developer whose experience in object oriented and framework projects using Visual Basic and SQL Server uniquely qualifies her to contribute to this book. Using her 3-tier architecture (with Microsoft Transaction Server) experience she has provided invaluable knowledge and source code to this book.

The authors reside in Canberra, Australia.

Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.