INTRODUCTION
XML, XHTML and HTML
Why XML?
BASIC RULES OF XML
Elements, Attributes, and Values
XML declaration
The Root Element
Adding comments
Default entities
Displaying tags as text
CREATING A DATA TYPE DEFINITION (DTD)
Internal DTD
External DTD
Personal external DTD
Public external DTD
DEFINING ELEMENTS AND ATTRIBUTES IN A DTD
Defining elements
Defining an element to contain: - only text, one child or a sequence
Defining choices
Simple attributes
Attributes and unique values
ENTITIES AND NOTATION IN DTDs
Internal general entities
Shortcuts for text in external files
External parameter entities
Entities for unparsed content
Embedding unparsed content
|
CASCADING STYLE SHEETS AND XML
Setting up CSS
Style sheet syntax
External style sheets
Style sheets for an HTML document
Style sheets for an XML document
Layout with CSS
Defining elements as block-level or inline
Hiding elements completely
Offsetting elements in the natural flow
XML SCHEMA
Simple and complex types
Local and global declarations
Simple schema
Simple schema’s location
Annotating schemas
DEFINING SIMPLE TYPES
Date and time types
Number types
Deriving custom simple types
Anonymous custom types
Acceptable values
Creating list types
Predefining an element's content
DEFINING COMPLEX TYPES
Creating a set of choices
Ordering elements
Defining named groups
Referencing a named group
USING NAMESPACES IN XML
Namespaces, DTDs, and valid documents
Namespaces, Schemas, and validation |
4 Ravey Street
London EC2A 4QP
t: +44(0)20 7729 1811
f:+44(0)20 7729 9412
information@premiercs.co.uk |