Click to return to the Content     
SCHEDULE Element     USAGE Element     CDF Reference for Active ...    
Web Workshop  |  Content & Component Delivery

TITLE Element


Specifies a text string representing the title of the CHANNEL or ITEM element.

Syntax

<TITLE
    XML-SPACE="DEFAULT" | "PRESERVE"
>

Attributes

XML-SPACE
String value that specifies how white space, such as tabs, spaces, and blank lines, should be handled. The default behavior (XML-SPACE="DEFAULT") indicates that white space characters are not considered significant, and therefore some of these characters may be filtered out during file processing. Set the value of this attribute to "PRESERVE" to ensure that all white space characters are retained. This attribute can be used with any CDF element that uses significant white space. When used as an attribute of a parent element, the value assigned to the XML-SPACE attribute applies to all child elements unless specifically overridden with another XML-SPACE attribute.

Element Information

Number of occurrences None or one per parent element
Parent elements CHANNELITEMSOFTPKG
Child elements None
File formats supported CDF, OSD
Requires closing tag Yes

Remarks

Microsoft® Internet Explorer displays this title to the right of the item's icon in the Channels Explorer Bar. A TITLE element that is the direct child of the top-level channel element appears in place of the channel logo in the Channels Explorer Bar when another channel is selected by the user.

When applied to the top-level CHANNEL element, the title should appear near the top of the CDF file before any ITEM or nested CHANNEL elements.

The TITLE element can be used as an attribute with the CHANNEL and ITEM elements to support previous implementations of CDF. Any new CDF files should use TITLE as a child element.

Example

The TITLE element in the following example represents the distinguishing name of its parent CHANNEL element.

<CHANNEL>
    <TITLE>CDF Reference</TITLE>
    .
    .
    .
</CHANNEL>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.