xforms:switch
Element information
Namespace: http://www.w3.org/2002/xforms
Schema document: XForms-11-Schema.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- xforms:case [1..*]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [0..1] | xsd:ID | from group xforms:Common.Attributes | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: strict | from group xforms:Common.Attributes | |
model | [0..1] | xsd:IDREF | from group xforms:Single.Node.Binding.Attributes | |
ref | [0..1] | xforms:XPathExpression | from group xforms:Single.Node.Binding.Attributes | |
bind | [0..1] | xsd:IDREF | from group xforms:Single.Node.Binding.Attributes | |
appearance | [0..1] | xforms:appearanceType | from group xforms:UI.Common.Attrs |
Used in
- Group xforms:Container.Form.Controls
- Anonymous type of element xforms:case via reference to xforms:Container.Form.Controls
- Anonymous type of element xforms:group via reference to xforms:Container.Form.Controls
- Anonymous type of element xforms:repeat via reference to xforms:Container.Form.Controls
Sample instance
<xforms:switch> <xforms:case> <xforms:label>Any text, intermingled with: <xforms:output>... </xforms:output> </xforms:label> <xforms:input> <xforms:label>Any text, intermingled with:... </xforms:label> <xforms:help>Any text, intermingled with:... </xforms:help> </xforms:input> </xforms:case> </xforms:switch>