Une valeur constante de chaîne littérale.
<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_String"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">
<Class name="StringExampleRuleClass">
<Attribute name="emptyString">
<type>
<javaclass name="String"/>
</type>
<derivation>
<!-- Une chaîne vide -->
<String value=""/>
</derivation>
</Attribute>
<Attribute name="helloWorld">
<type>
<javaclass name="String"/>
</type>
<derivation>
<!-- La chaîne "Hello, World!" -->
<String value="Hello, World!"/>
</derivation>
</Attribute>
</Class>
</RuleSet>