XML for the World Wide Web Visual QuickStart Guide

by
Edition: 1st
Format: Paperback
Pub. Date: 2000-10-23
Publisher(s): Peachpit Press
List Price: $26.74

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Web-maven Elizabeth Castro, who has penned Peachpit books on HTML,Perl and CGI, and Netscape, now tackles XML--an indispensable toolfor creating personalized, updated content for each visitor on yoursite. Whether you build Web pages for a living or you're taking on anew hobby, XML for the World Wide Web contains everything you need tocreate dynamic Web sites by writing XML code, developing custom XMLapplications with DTDs and schemas, transforming XML intopersonalized Web content through XSLT-based transformations, andprofessionally formatting XML documents with Cascading Style Sheets.The real power of XML lies in combining information from varioussources and generating personalized content for different visitors.Castro's easy-to-follow graphics show exactly what XML looks like,and her real-world examples explain how to transform and streamlineyour Web-site creation process by automatically updating content.

Author Biography

Elizabeth Castro is the author of the four best-selling editions of HTML for the World Wide Web: Visual QuickStart Guide. She also wrote the best-selling Perl and CGI for the World Wide Web: Visual QuickStart Guide, and the Macintosh and Windows versions of Netscape Communicator 4: Visual QuickStart Guide. She was the technical editor for Peachpit's The Macintosh Bible, Fifth Edition, and she founded P‡gina Uno, a publishing house based in Barcelona, Spain.

Table of Contents

Introduction 11(1)
The Problem with HTML
12(1)
The Power of XML
13(1)
XML's Helpers
14(1)
XML in the Real World
15(1)
About This Book
16(1)
What This Book is Not
17(1)
The XML VQS Web Site
18(3)
Part 1: XML
Writing XML
21(14)
Elements, Attributes, and Values
22(1)
Rules for Writing XML
23(1)
Declaring the XML Version
24(1)
Creating the Root Element
25(1)
Writing Non-Empty Elements
26(1)
Nesting Elements
27(1)
Adding Attributes
28(1)
Using Empty Elements
29(1)
Writing Comments
30(1)
Writing Five Special Symbols
31(1)
Displaying Elements as Text
32(3)
Part 2: DTDs
Creating a DTD
35(6)
Declaring an Internal DTD
36(1)
Writing an External DTD
37(1)
Naming an External DTD
38(1)
Declaring a Personal External DTD
39(1)
Declaring a Public External DTD
40(1)
Defining Elements and Attributes in a DTD
41(14)
Defining Elements
42(2)
Defining an Element to Contain Only Text
44(1)
Defining an Element to Contain One Child
45(1)
Defining an Element to Contain a Sequence
46(1)
Defining Choices
47(1)
Defining How Many Units
48(1)
About Attributes
49(1)
Defining Simple Attributes
50(2)
Defining Attributes with Unique Values
52(1)
Referencing Attributes with Unique Values
53(1)
Restricting Attributes to Valid XML Names
54(1)
Entities and Notations in DTDs
55(14)
Creating Shortcuts for Text
56(1)
Using Shortcuts for Text
57(1)
Shortcuts for Text in External Files
58(2)
Creating and Using Shortcuts for DTDs
60(2)
Creating Entities for Unparsed Content
62(2)
Embedding Unparsed Content
64(5)
Part 3: XML Schema and Namespaces
XML Schema
69(6)
Simple and Complex Types
70(1)
Local and Global Declarations
71(1)
Beginning a Simple Schema
72(1)
Indicating a Simple Schema's Location
73(1)
Annotating Schemas
74(1)
Defining Simple Types
75(18)
Declaring an Element with a Simple Type
76(2)
Using Date and Time Types
78(2)
Using Number Types
80(1)
Deriving Custom Simple Types
81(1)
Using Anonymous Custom Types
82(1)
Specifying a Set of Acceptable Values
83(1)
Specifying a Pattern for a Simple Type
84(2)
Specifying a Range of Acceptable Values
86(2)
Limiting the Length of a Simple Type
88(1)
Limiting a Number's Digits
89(1)
Creating List Types
90(1)
Predefining an Element's Content
91(2)
Defining Complex Types
93(20)
Defining Elements to Contain Only Elements
94(1)
Requiring Elements to Appear in Sequence
95(1)
Creating a Set of Choices
96(1)
Allowing Elements to Appear in Any Order
97(1)
Defining Named Groups
98(1)
Referencing a Named Group
99(1)
Referencing Already Defined Elements
100(1)
Controlling How Many
101(1)
Defining Elements to Contain Only Text
102(1)
Defining Empty Elements
103(1)
Defining Elements with Mixed Content
104(1)
Basing Complex Types on Complex Types
105(1)
Declaring an Element of Complex Type
106(1)
Elements with Anonymous Complex Types
107(1)
Declaring Attributes
108(1)
Requiring an Attribute
109(1)
Predefining an Attribute's Content
110(1)
Defining Attribute Groups
111(1)
Referencing Attribute Groups
112(1)
Using Namespaces in XML
113(8)
Designing a Namespace Name
114(1)
Declaring Default Namespaces
115(1)
Namespaces for Individual Elements
116(2)
How Namespaces Affect Attributes
118(1)
Namespaces, DTDs, and Valid Documents
119(2)
Namespaces, Schemas, and Validation
121(14)
Schemas and Namespaces
122(1)
Populating a Namespace
123(1)
Adding All Locally Declared Elements
124(1)
Adding Particular Locally Declared Elements
125(1)
Referencing Components with Namespaces
126(2)
The Schema of Schemas as the Default
128(1)
Namespaces and Validating XML
129(1)
Indicating Where a Schema Is
130(1)
Schemas in Multiple Files
131(1)
Importing Components
132(3)
Part 4: XSLT and XPath
XSLT
135(18)
Transforming XML with XSLT
136(2)
Beginning an XSLT Style Sheet
138(1)
Creating the Root Template
139(1)
Outputting HTML Code
140(2)
Outputting a Node's Content
142(2)
Creating and Applying Template Rules
144(2)
Batch-Processing Nodes
146(2)
Processing Nodes Conditionally
148(1)
Adding Conditional Choices
149(1)
Sorting Nodes Before Processing
150(1)
Generating Attributes
151(2)
XPath: Patterns and Expressions
153(10)
Determining the Current Node
154(1)
Referring to the Current Node
155(1)
Selecting a Node's Children
156(1)
Selecting a Node's Parent or Siblings
157(1)
Selecting All of the Descendants
158(1)
Disregarding the Current Node
159(1)
Selecting a Node's Attributes
160(1)
Selecting Subsets
161(2)
Test Expressions and Functions
163(14)
Comparing Two Values
164(1)
Testing the Position
165(1)
Subtotaling Values
166(1)
Counting Nodes
167(1)
Multiplying, Dividing, Adding, Subtracting
168(1)
Formatting Numbers
169(1)
Rounding Numbers
170(1)
Extracting Substrings
171(2)
Capitalizing Strings
173(4)
Part 5: Cascading Style Sheets
Setting up CSS
177(12)
CSS with XML vs. CSS with HTML
178(1)
CSS1; CSS2, and Browsers
178(1)
The Anatomy of a Style
179(1)
Specifying Where Styles Are To Be Applied
180(2)
Creating an External Style Sheet
182(2)
Calling a Style Sheet for an XML Document
184(2)
Calling a Style Sheet for an HTML Document
186(1)
Using Internal Style Sheets
187(1)
Applying Styles Locally
188(1)
Layout with CSS
189(20)
Defining Elements as Block-Level or Inline
190(1)
Hiding Elements Completely
191(1)
Offsetting Elements In the Natural Flow
192(1)
Positioning Elements Absolutely
193(1)
Setting the Height or Width for an Element
194(1)
Setting the Border
195(1)
Adding Padding Around an Element
196(1)
Setting the Margins around an Element
197(1)
Wrapping Text around Elements
198(1)
Stopping Text Wrap
199(1)
Changing the Foreground Color
200(1)
Changing the Background
201(1)
Positioning Elements in 3D
202(1)
Aligning Elements Vertically
203(1)
Determining Where Overflow Should Go
204(1)
Clipping an Element
205(1)
Setting List Properties
206(2)
Specifying Page Breaks
208(1)
Formatting Text with CSS
209(16)
Choosing a Font Family
210(1)
Embedding Fonts on a Page
211(1)
Creating Italics
212(1)
Applying Bold Formatting
213(1)
Setting the Font Size
214(1)
Setting the Line Height
215(1)
Setting All Font Values at Once
216(1)
Setting the Text Color
217(1)
Changing the Text's Background
218(1)
Controlling Spacing
219(1)
Aligning Text
220(1)
Underlining Text
221(1)
Changing the Text Case
222(3)
Part 6: XLink and XPointer
Links and Images: XLink and XPointer
225
Creating a Simple Link
226
Creating a Linkset
228
Defining Reference Points
229
Defining Connections
230
Using a Linkset
232
Linking to Part of a File
233
Creating the Simplest XPointer
234
Creating Walking XPointers
235
Creating an XPointer Range
236
Appendices
Appendix A: XHTML
239
How Does a Browser Know?
240
Writing XHTML
241
Declaring a DTD for XHTML
242
Appendix B: XML Tools
243
Validating XML Files against a DTD
244
Validating XML with a Schema
245
Transforming XML with an XSLT Processor
246
Appendix C: Special Symbols
247
Using Character References
248
Table I: Characters
249
Table II: Symbols
250
Appendix D: Colors in Hex
251
Finding a Color's RGB Components---in Hex
252
Hexadecimal Equivalents
253
The Hexadecimal System
253
Index, Colophon, and Note
Index
255
Colophon and Note
270

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.