XML Templates


This document introduces key concepts and tools in Composite C1 that front-end developers are required to be familiar with in order to build customized sites with Composite C1.

It can be used both as reading material to hand out while conducting trainings on Composite C1 and a self-study guide to learning Composite C1.

Who Should Read This Guide

This document is an introduction to Composite C1 for front-end developers who want to learn to create and work with XML layout templates in Composite C1.

However, part of this document might be useful to a broader audience. Not everyone is required to know the technical details, but it helps when you know the concepts on a more detailed level.

This document assumes that you have basic knowledge and/or experience in working with Composite C1 and know how to create a new empty site.

Composite C1 uses a number of open web standards, so you are supposed to have at least basic understanding of XML, XHTML, XSLT and CSS.

Since Composite C1 is based on a number of Microsoft technologies, you will want to have an experience with Internet Information Services, Visual Studio and .NET Framework, C#, ASP.NET, Windows Workflow Foundation, .NET User Controls.

System Requirements

While working with this document, you should have access to a working Composite C1 environment. It should be one of the following options:

  • (minimum) A laptop or PC that meets requirements to install Composite C1 (see below).
  • (preferred) A laptop or PC that has Composite C1 already installed and running.
  • (in some cases) Web access to an external Composite C1 installation (one website per attendee who wants to complete hands-on exercises)

(See “Composite C1 System Requirements” for more information on the requirements.)

Document Overview

In Introduction, you will get an overview of what this document is about, and learn what prerequisites must be in place.

TheAnatomyofaComposite C1WebPage gives you a quick introduction to what a standard Composite C1 page is and what the role a Composite C1 template plays in creating pages.

In CreatingLayoutTemplatesinComposite C1, you will learn how to create XML templates in Composite C1.

ACloserLookattheTemplateMarkup will thoroughly examine the core Composite C1 template elements you can use when creating or editing templates.

EditingTemplates focuses on how to use a built-in Composite C1 template editor to edit templates as well as what you need to know to edit templates in external editors. It also discusses how to use external resources within your templates such as style sheets (CSS), JavaScript and media files.

LocalizingTemplates covers the topic of template localization on multiple-language websites in Composite C1.

In TestYourKnowledge, you can check how good you have mastered the topics discussed in this document.

What You Will Learn

When you finish the document, you should know:

  • How to create XML layout templates in Composite C1
  • What core Composite C1 template elements to use in XML templates
  • How to edit templates in Composite C1 built-in XML template editor
  • What it takes to edit XML templates in external editors
  • How to use external CSS, JavaScript and media in XML templates
  • How to localize XML templates

References and Links

For further information on Composite C1’s concepts, tools, packages, visit http://docs.composite.net where you can read many articles and tutorials on various Composite C1’s subjects.

Composite C1’s FAQ is another source of information you can refer to, available at Layout FAQ.

You can always ask questions or look for existing information on our forums at: http://compositec1.codeplex.com/discussions.

If you are a Composite’s partner, you can also sign up and report your issues at http://support.composite.net.

For information about standards and technologies use in Composite C1 such as XML, you should use external sources (e.g. http://www.w3schools.com).