complexType "ConditionalSourceGenString"
Namespace:
Content:
simple, 3 attributes
Defined:
globally within component.xsd, see XML source
Used:
XML Representation Summary
<...
   
forms
 = 
list of xsd:string
   
ifEvents
 = 
list of xsd:string
   
ifExpr
 = 
xsd:string
   
>
   
Content: 
{ xsd:string }
</...>
Known Usage Locations
  • In derivations of embedded types of elements (2):
    inline (as extension base),
    template (as extension base)
Annotation
Base for sourcegen elements which may be conditionally skipped
(and which contain text).
Such skipping applies to the save-time behavior and not
the load-time or validation-time behavior.
Type Definition Detail
Type Derivation Summary
xsd:string
  ConditionalSourceGenString (extension)
Derivation:
extension of xsd:string
XML Source
<xsd:complexType abstract="true" name="ConditionalSourceGenString">
<xsd:annotation>
<xsd:documentation>
Base for sourcegen elements which may be conditionally skipped
(and which contain text).
Such skipping applies to the save-time behavior and not
the load-time or validation-time behavior.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="ConditionalSourceGenAttributes"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
Attribute Detail
forms
Added post 1.1 to inline.

A list of tokens 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. Elements specifying
form="SpecialCase" will be selected. Other parents will not see
such elements if they do not specify that form.

If the form does not match, the element is not invoked.
Type:
Use:
optional
Defined:

ifEvents
Added post 1.1 to inline.
If defined, a list of events, any of which must be bound for the
element to be invoked.
Type:
Use:
optional
Defined:

ifExpr
Added post 1.1.
If defined, a Javascript expression which must evaluate to
true (or non-zero) for the element to be invoked.
Type:
xsd:string
Use:
optional
Defined: