## Custom Component Reference

Component definition files (.component) must conform to the component schema definition in the component.xsd descriptions. Detailed documentation on the schema can be found in the reference section under Component XSD Description. This section provides a brief introduction to the schema.

The root XML element in a component definition file is the <componentDefinition> element. Generally the initial part of the file looks like:

> <?xml version="1.0" encoding="UTF-8"?>
> <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

The <componentDefinition> element can contain three types of items. The main item is the <component> element. There can be only one of these per file, and it can be omitted if the file just has type definitions.

The following information provides details about the major XML elements involved in designing and creating your own custom components.

- Component Definition Element
- Component Element
- Symbian Element
- Designer Images Element
- Attributes Element
- Properties Element
- Events Element
- Implementations
- RSS Source Mapping
- Source Generation