XML the Microsoft Way

by Peter G. Aitken

Addison Wesley 2002
532 pages, $39.99
ISBN 0-201-74852-5

Provides a clear and concise explanation of XML and important related technologies, and detailed instructions on working with XML using a variety of Microsoft development tools and applications. Plentiful code examples get you up and running quickly. See the review comments following.

"XML the Microsoft Way is a must-have for any IT library" - Duane Nickull, CTO, XML Global Technologies and Chief Technical Editor, XSLT.Com.

"Most visitors to our site depend heavily on Microsoft tools for development of our applications...[this book] not only covers a wide variety of topics concerning XML and XSL, it covers them assuming you are using Microsoft tools. For that reason alone, you should seriously consider picking up this book. The author, Peter G. Aitken, made sure [it] was packed full of code examples with the Microsoft XML Parser as well as the .NET System.XML class...Enjoy the book; I know I did." - Robbe D. Morris, EggheadCafe.Com  (http://www.eggheadcafe.com/articles/20020203.asp)

"I highly recommend this book, and I hope it will be revised to keep abreast of developments when Windows .NET Server is released later this year." - Mitch Tulloch, Swynk.com (http://www.swynk.com/books/XMLMicrosoftWay.asp)

Download code View corrections Order

Table of Contents

  1. XML: What and Why?
  2. The Syntax of XML
  3. Data Modeling with DTDs
  4. Data Modeling with XDR Schemas
  5. Data Modeling With XSD Schemas
  6. Formatting XML Documents with Cascading Style Sheets
  7. Extensible Stylesheet Language and XSLT
  8. Formatting Objects
  9. XLink and XPointer
  10. Using DOM, the Document Object Model
  11. The SAX (Simple API for XML) Interface
  12. The Simplified Object Access Protocol
  13. The .Net Framework, C#, and XML
  14. XHTML and Web Pages
  15. XML and Visual Basic
  16. XML and Visual C++
  17. Internet Explorer: Client-Side Scripting and Dynamic HTML
  18. Server-side Scripting and XML
  19. Biztalk
  20. XML and Microsoft Office

Corrections listed in page number order.

Page 47. Second line of code should read

<!Element part ...

and not

<!Element item ...


Page 48. First sentence after the "Declaring Attributes heading, change "information elements" to "information to elements."


Page 85. Last sentence of Summary should say "detailed in this chapter" instead of "detailed in the chapter."


Page 117. The line of code about halfway down the page should have a semicolon after "serif"


Page 122: The last 2 lines of code on the page are both missing the terminating semicolon.


Page 157. Second paragraph, "refer to the namespace" should read "refer to the same namespace."


Page 196. In the table entry for "font-stretch", in the description, the word "keyword" should be deleted and a comma belongs between "condensed" and "expanded."


Page 230. In the 3rd row of the table, the word "Documents" belongs in the third column and not in the second column.


Page 233. In listing 10.1, the 6th line of code. The quotation marks should contain "^--" instead of " - ".


Page 234. The second sentence after the heading "DOMDocument events:" Delete the words "to detect."


Page 237. Table 10.4, 2nd row, 2nd column. Change "first.Child" to firstChild"


Page 283. First sentence after the sidebar, change mssoapinit() to soapinit().


Page 285. First paragraph, 3rd sentence from end. "You to 'execute'" should read "You to have 'execute'".


Page 333. The first code snippet is missing its CDATA tags. After the opening <style> tag there should be

<![CDATA[

and before the closing </style> tag there should be

]]>


Page 438. Next to last sentence, "references" should read "referenced."


Page 456. Listing 18.7, near the end. Should reference "list1806.htm" and not "list1813.htm."


Page 491: in one of the XML code samples there is a ] following a </person> tag - it should be deleted.


Downloading the Code

Click the link below to download a ZIP file that contains the book's listings. When you unpack the ZIP you will have a folder for each of the book's chapters that contains listings, and a file in each folder for each of the numbered listings. If the listing is given a specific name in the book it will have that same name in the download. Otherwise it will be named as per the listing, for example List0502.xml.

Download