부울 값을 부정합니다.
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_not" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Class name="Person"> <Attribute name="isLivingInUSA"> <type> <javaclass name="Boolean"/> </type> <derivation> <!-- 이 not-within-not은 다소 작위적입니다. --> <not> <reference attribute="isLivingOutsideUSA"/> </not> </derivation> </Attribute> <Attribute name="isLivingOutsideUSA"> <type> <javaclass name="Boolean"/> </type> <derivation> <not> <equals> <reference attribute="country"/> <String value="USA"/> </equals> </not> </derivation> </Attribute> <!-- 이 개인이 거주하는 국가입니다. --> <Attribute name="country"> <type> <javaclass name="String"/> </type> <derivation> <specified/> </derivation> </Attribute> </Class> </RuleSet>