Chapter Examples

Throughout the book we included several examples of XML. While you could copy the code character for character from the book, we knew there had to be an easier -- and hence better -- way to help you learn from our examples. To that end, we've extracted all of the examples from the book and saved them as plain text files for you to work from. In general these examples only consist of code fragments that are ten lines or longer.

We've created hyper-linked listings of the examples included in each chapter of the book to provide you with easy access to the example text files. The listings are broken down by chapter. To access the examples from a particular chapter click on its name below and the listing of the examples from that chapter will be loaded in to your Web browser as a text document. To modify a code example you can cut and past the text from your Web browser into your text editor of choice and change away.In order to get these examples to appear as code in a Web browser we had to do some funky conversions, so if you try to open the individual example files with a text editor you'll find some pretty hairy character entities, so we recommend the cut and paste method instead. To return to the chapter table of contents from a code text file press your Web browser's "Back" button.

If a chapter is listed but not hyperlinked that means we didn't include any examples in it. We didn't want you to think we accidentally skipped a chapters, so we listed all of them.

Part I: Why XML is "eXtreMely cooL"

1: What is XML and Why You Should Care

2: Kissin' Cousins - XML's Relationship to HTML

3: Understanding XML's Relationship to SGML

4: The Blueprint for Extensibility - The XML Spec

Part II: Extending Documents and Their Markup

5: Good XML Springs from Good Structure Language?

6: Building XML Markup

7: Meet XML's Multi-Way Hyperlinks

8: Extending Your Sense of XML Style

9: Named XML Entities

Part III: XML Languages and Applications

10: XML Markup Has Real Chemistry

11: XML Can Channel from Many Different Sources

12: XML is the Master of Many Resources

13: XML Doubles Up on Web Sites

14: Marking XML by the Numbers

15: Look Out! XML Gets Dynamic

16: The Synchronized Multimedia Integration Language (SMIL)

17: To XML. Software is an Open Book

Part IV: The Parts of Ten

18: Six Secrets to SGML Satisfaction

19: The Ten Best Uses for XML

20: Ten Terrific XML Sites

21: Answers to Ten Burning XML Questions

22: The Top Ten XML Tools

Contact Info Chapter Examples Extras Chapter URLs Site Overview Chapter Contents Home Page

Home | Chapter Contents | Chapter URLs | Chapter Examples | Site Overview | Extras | Contact Info



HOME |  BOOKS |  TRAINING |  CERTIFICATION |  JAVA SHOWCASE |  About LanWrights |  Overview




NOTICE:
You can signup for the new lanw forums, and begin contributing to our new look website from spring 2007 onwards.

Last edited 1st March 2007.