Download Ektron CMS400.NET Developer Reference Manual
Transcript
Customizing Validation Choice Sub-Elements Element Description caption Defines the displayed text for this choice. The attributes and description are the same as <caption> elements for commands. schema Defines a W3C XML schema (WXS) definition for this choice. The definition may be a simple type defined by the datatype attribute and/or a WXS fragment. For more information, see ”Defining a Schema Fragment” on page 1031 Note: This attribute only applies to the Data Design of a Smart Form -- it does not apply to HTML forms. calculate Defines an expression which normalizes a value prior to checking validation ”Defining a Calculation” on page 1032 validate Defines an expression that determines if a value is valid ”Defining Validation” on page 1033 Defining a Schema Fragment When defining a schema fragment, the “xs” namespace prefix is required for WXS tags. Also, the WXS fragment must be valid for inclusion in an xs:restriction (simple type). That is, <xs:simpleType> <xs:restriction> ...fragment... </xs:restriction> </xs:simpleType> Simple Data Types The simple data types are defined by W3C XML Schema definition language 1.0. NOTE The datatype value should not include a namespace prefix. For example datatype=”string” is correct; datatype=”xs:string” is incorrect Examples • Using only a datatype attribute <schema datatype="string"/> Ektron CMS40 0.NET Deve lope r Re fe re nce Manua l, Version 7.5, Rev 7 1031
Related documents
Ektron CMS400.NET Developer Reference Manual
Ektron CMS400.NET Developer Manual
Ektron CMS400.NET Developer Reference Manual
Ektron CMS400.NET Developer Reference Manual
Ektron CMS400.NET Developer Reference Manual
Ektron CMS400.NET Developer Reference Manual
Ektron CMS200 Dreamweaver Extension Support Manual
Taking a First Look at FusionDebug
Ektron CMS400.NET Administrator Manual
Ektron CMS400.NET Project Management Starter Site User Manual
Ektron CMS400.NET Administrator Manual
Ektron CMS400.NET Administrator Manual