.toLower()
Method converts string to lower case.
Description of the method
Description: | .toLower() method converts string to lower case. |
Available for: | string |
Parameters: | - |
Return type: | string |
Example
Context: | HeaderType1 |
OCL: | self.Id.toLower() = "idcontent" |
Description: | The example rule converts the value of <Id> element to lower case and compares it to "idcontent". |
The XML snippet below would pass this check.
<Id>IdContent</Id>
The other snippet below however would not pass this check as it contains space between id and content.
<Id>Id Content</Id>
Attached you can find example schema and files which you can use for testing:
§