Sams Teach Yourself XML in 10 Minutes

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

XML is the de-facto standard for manipulating and sharing data among applications. It is supported by every major programming tool and language, including Java, Microsoft .NET, Oracle, SQL Server, etc. All professional developers and administrators - even those who don't intend to build XML applications - need a basic understanding of it just to read and maintain data they receive and process. Many of them don't have the time for a thick reference book or detailed tutorial. Sams Teach Yourself XML in 10 Minutes quickly covers the basics of XML and its family of related concepts, including basic syntax, DTDs, XML Schema, DOM, SAX, XSL, and XPath. Each topic is illustrated with an example to ensure readers' understanding.

Author(s): Andrew H. Watt
Series: Teach Yourself... in 10 Minutes
Publisher: Sams
Year: 2002

Language: English
Pages: 303

Sams Teach Yourself XML in10 Minutes......Page 2
Copyright......Page 3
Table of Contents......Page 4
About the Author......Page 9
Acknowledgments......Page 10
We Want to Hear from You!......Page 11
Introduction......Page 12
What Is XML For?......Page 16
XML Is a Markup Language......Page 20
XML Is a Meta Language......Page 21
How Does XML Relate to HTML?......Page 23
Separating Content from Presentation......Page 24
How Is XML Written?......Page 25
Summary......Page 27
An XML Document......Page 28
Prolog......Page 29
Document Type Declaration......Page 33
Document Element......Page 35
CDATA Sections......Page 36
Summary......Page 39
Well-Formed XML Documents......Page 40
XML Names......Page 41
Elements......Page 43
Attributes......Page 44
Other Characteristics of Well-Formedness......Page 46
Well-Formedness and XML Processor Type......Page 50
Summary......Page 51
Shared Documents: Why We Need DTDs......Page 52
What a DTD Is......Page 54
Declaring Elements in DTDs......Page 57
Declaring Attributes in DTDs......Page 61
Summary......Page 63
What Is an Entity?......Page 64
Parsed Entities......Page 69
Unparsed Entities......Page 72
Summary......Page 75
Internationalization......Page 76
XML and Internationalization......Page 80
Unicode......Page 83
Fonts, Characters, and Glyphs......Page 85
Summary......Page 87
Modeling Data As XML......Page 88
W3C XML Data Models......Page 96
XPath......Page 97
The XML Information Set......Page 98
Summary......Page 99
What Is a Namespace, and Why Do You Need Them?......Page 100
Using Namespaces in XML......Page 104
Using Multiple Namespaces in a Document......Page 110
Summary......Page 112
How XPath Is Used......Page 113
Accessing Elements......Page 120
Accessing Attributes......Page 122
XPath Functions......Page 123
Summary......Page 125
XSLT Basics......Page 126
Creating a Simple HTML Page......Page 129
Creating an HTML List......Page 133
Creating an HTML Table......Page 137
Summary......Page 139
Why Change Structure?......Page 140
Copying Elements......Page 142
Creating New Elements......Page 146
Creating New Attributes......Page 151
Summary......Page 153
Conditional Processing and Sorting Data......Page 154
Conditional Processing......Page 155
The xsl:choose Element......Page 160
Sorting Output......Page 163
Multiple Sorts......Page 166
Summary......Page 169
Cascading Style Sheets and XML......Page 170
Using CSS Rules with XML......Page 172
Some Examples Using CSS Styling......Page 175
Using CSS with XSLT......Page 178
Summary......Page 182
The XML Linking Language......Page 183
XLink Examples......Page 186
Document Fragments and XPointer......Page 189
XPointer and XPath......Page 191
Summary......Page 198
What Is SVG?......Page 199
Advantages of SVG......Page 201
Creating SVG......Page 202
Some SVG Examples......Page 204
Summary......Page 209
The Document Object Model......Page 210
DOM Interfaces......Page 212
DOM Interfaces Properties and Methods......Page 216
Summary......Page 220
Creating a New Element......Page 221
Retrieving Information from the DOM......Page 226
Summary......Page 231
What SAX Is and How It Differs from DOM......Page 232
Basics of SAX Programming......Page 233
Installing a SAX Parser......Page 235
Simple SAX Example......Page 237
Summary......Page 241
W3C XML Schema Basics......Page 242
Declaring Elements......Page 244
Defining Complex and Simple Types......Page 249
Summary......Page 251
Web Sites......Page 252
Mailing Lists......Page 254
XML Editors......Page 257
XSLT Tools......Page 258
XLink and XPointer Tools......Page 262
APPENDIX C XML Glossary......Page 263
INDEX......Page 274