CDF Reference for Active Channels
This technology is obsolete as of Windows Internet Explorer 7 and should not be used. This section describes the suggested revision to Channel Definition Format (CDF) that Microsoft and other partners are presenting to the World Wide Web Consortium (W3C). For reference purposes, this revision is CDF version 0.4. CDF is an application of the XML. The original submission of CDF to the W3C can be found at the World Wide Web Consortium.
- CDF Syntax
- CDF Parsing Rules and Hints
- CDF Elements
Note that the syntax might vary for different elements. This section contains a table that describes the possible formats in which the tags might appear.
|Empty element with attributes||
|Element with content and end tag||
|Parent element with attributes and child elements||
CDF Parsing Rules and Hints
To avoid some common mistakes, keep the following rules in mind when creating a CDF file.
|Special Characters||When placing text content between an element start and end tag, you must encode the following characters to prevent CDF parsing errors.
For a complete list of other named character set entities, see the documentation on HTML Character Sets (Charsets) and Named Entities.
|Character Encoding||The CDF file supports encoding for any ASCII character with the format &#nnn. For example, the ampersand character could also be encoded with its ASCII decimal value of 38 by using the string &.|
|Attribute Syntax||All attribute values must be enclosed in quotation marks, even if the value is a number.|
|Comments||Any text you want to be ignored by the CDF parser should be placed between the comment start tag (<!--) and the comment end tag (-->).|
This section describes the elements and associated attributes used to create CDF files for Microsoft Active Channel. Some CDF files may be used for other types of Webcasting, such as Active Desktop items and Software Update Channels, depending on the value of the USAGE element.