You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

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).

Validity

This page is valid for the specification of the interface to the Interactive Info Center for the realization of Gigaset Web Services.

XHTML Reference

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:


<element attribute="value">element content</element>

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.

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.

Xml declaration

Valid XHTML-GP documents start with an XML declaration, for example:


<?xml version="1.0" encoding="utf-8"?>

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”


  • No labels