1.1 Purpose of the Document
The purpose of this wiki page is to define an overview of the XHTML Gigaset Profile; it describes the elements and attributes suitable for the Interactive Info Center. Since it defines a subset of XHTML, it is called XHTML Gigaset Profile (XHTML GP).
This page is valid for the specification of the interface to the Interactive Info Center for the realization of Gigaset Web Services.
2 XHTML Reference
2.1 XHTML-GP Markup Rules
XHTML-GP is based on XHTML-MP (which is based on XHTML) and uses the same markup rules. XHTML elements consist of a start tag (which includes the element name and element attributes), element content, and an end tag arranged as follows:
Not all elements have attributes or content.
The following rules apply to XHTML and XHTML-GP documents:
- XHTML documents must be well formed. Because XHTML is based on XML, documents must conform to XML syntax rules.
- XHTML elements must be properly nested.
- Tags and attributes must be lowercase.
- All XHTML elements must be closed. You can use a closing slash with any empty element such as <br /> or <a id=“page1”/>.
- All attribute values must be enclosed in quotation marks.
- A DOCTYPE declaration is required. All examples in this book include this declaration.
2.2 Prologue Components
Each XHTML-GP document starts with a prolog. The prolog declares the language standards to which the document conforms and identifies the document’s root element.
2.2.1 XML declaration
Valid XHTML-GP documents start with an XML declaration, for example:
This XML declaration states that the document follows the syntax of XML 1.0. This is the only XML version that is supported by the Gigaset system.
It also states that the character encoding follows the utf-8 standard. The Gigaset system always supports the character set ISO-8859-1, also known as “Latin 1”. More character sets might be supported as product specific feature:
- ISO-8859-2, also known as “Latin 2”
- ISO-8859-5, also known as “Cyrillic”
- ISO-8859-6, also known as “Arabic”
- ISO-8859-7, also known as “Modern Greek”
- ISO-8859-8, also known as “Hebrew”
- ISO-8859-9, also known as “Turkish”
2.2.2 Doctype declaration
Every valid XHTML-GP document contains a DOCTYPE declaration between the XML declaration and the document’s root element. The DOCTYPE declaration tells the browser which XHTML-GP document type the document conforms to and the name of the root element (for
XHTML-GP, always <html>).
3 XHTML-GP Reference
3.1.1 Elements and Attributes
This chapter defines the elements and attributes used in the XHTML Gigaset Profile. Other elements are interpreted as <p> elements. Unknown attributes are silently ignored.
1 not in infoscreensaver
3.1.2 CSS Styles
This chapter defines the CSS styles and their values used in the XHTML Gigaset Profile. Other styles and values are silently ignored.
|left, center, right|
|left, center, right|
3.2 Classification of Elements
3.2.1 Block Elements
Block elements generate a dedicated paragraph in the text flow, i.e. these elements always start in a new line. Block elements might contain regular text and inline elements. Some block elements might also contain other block elements. Exceptions from this rule
are explained in the descriptions of the elements.
3.2.2 Inline Elements
Inline-Elements do not create a dedicated paragraph in the text flow. Inline-Elements are subordinated, inner elements for block elements. Normally, they might contain normal text as well as additional inline elements, but no block elements. Exceptions from this
rule are explained in the descriptions of the elements.