Namespace: |
|
Type: |
|
Content: |
empty, 8 attributes |
Defined: |
globally within component.xsd, see XML source |
Used: |
at 4 locations |
XML Representation Summary |
|||
<template |
|||
form | = |
xsd:string |
|
forms | = |
list of xsd:string |
|
id | = |
xsd:string |
|
ifEvents | = |
list of xsd:string |
|
ifExpr | = |
xsd:string |
|
location | = |
xsd:string |
|
mode | = |
xsd:string |
|
phase | = |
xsd:string |
|
/> |
Type Derivation Summary xsd:string ![]() ![]() |
<xsd:element name="template"> <xsd:annotation> <xsd:documentation> This defines a contribution. The text element is template-expanded with ${ ... } expression escapes and may contain Javascript in <% ... %> sections. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:annotation> <xsd:documentation> The location id the contribution goes to. May not be specified when "phase" is set. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:annotation> <xsd:documentation> The phase the contribution goes to. A parent component must realize the phase into an actual location id. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:annotation> <xsd:documentation>Unused currently.</xsd:documentation> </xsd:annotation> </xsd:attribute> <!-- form and forms are the same, semantically --> <!-- form is obsolescent, use forms instead --> <xsd:annotation> <xsd:documentation> A token used to select a particular kind of source for a parent. The namespace is determined implicitly by what a parent requests. For instance, a parent may have special sourcegen, and pass the form "SpecialCase" to its children. Templates specifying form="SpecialCase" will be selected. Other parents will not see such templates if they do not specify that form. If the form does not match, the template is not instantiated. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:annotation> <xsd:documentation> Unique id for the template within a component or within a templateGroup. Ids may be shared for different forms. Derived components may redefine ids or inherit templates by id. Added post 1.1: if the id is unspecified in a templateGroup, a default id is assigned. To avoid inheriting, supply an empty id. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> |
Type: |
xsd:string |
Use: |
optional |
Defined: |
locally, within this element |
<xsd:attribute name="form" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> A token used to select a particular kind of source for a parent. The namespace is determined implicitly by what a parent requests. For instance, a parent may have special sourcegen, and pass the form "SpecialCase" to its children. Templates specifying form="SpecialCase" will be selected. Other parents will not see such templates if they do not specify that form. If the form does not match, the template is not instantiated. </xsd:documentation> </xsd:annotation> </xsd:attribute> |
Type: |
|
Use: |
optional |
Defined: |
Type: |
xsd:string |
Use: |
optional |
Defined: |
locally, within this element |
<xsd:attribute name="id" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> Unique id for the template within a component or within a templateGroup. Ids may be shared for different forms. Derived components may redefine ids or inherit templates by id. Added post 1.1: if the id is unspecified in a templateGroup, a default id is assigned. To avoid inheriting, supply an empty id. </xsd:documentation> </xsd:annotation> </xsd:attribute> |
Type: |
|
Use: |
optional |
Defined: |
Type: |
xsd:string |
Use: |
optional |
Defined: |
Type: |
xsd:string |
Use: |
optional |
Defined: |
locally, within this element |
<xsd:attribute name="location" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> The location id the contribution goes to. May not be specified when "phase" is set. </xsd:documentation> </xsd:annotation> </xsd:attribute> |
Type: |
xsd:string |
Use: |
optional |
Defined: |
locally, within this element |
<xsd:attribute name="mode" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation>Unused currently.</xsd:documentation> </xsd:annotation> </xsd:attribute> |
Type: |
xsd:string |
Use: |
optional |
Defined: |
locally, within this element |
<xsd:attribute name="phase" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> The phase the contribution goes to. A parent component must realize the phase into an actual location id. </xsd:documentation> </xsd:annotation> </xsd:attribute> |