XML Reference

Here is an example rule set with various legislation link values:

<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_Legislation"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">

  <Annotations>
    <!-- Rule set - an absolute link. -->
    <Legislation
 link="http://www.somelegislationsite.com/somepage1"/>
  </Annotations>
  <Class name="Citizen">
    <Annotations>
      <!-- Rule class - another absolute link. -->
      <Legislation
 link="http://www.somelegislationsite.com/somepage2"/>
    </Annotations>

    <Attribute name="dateOfBirth">
      <Annotations>
        <!-- Rule attribute - a relative link. -->
        <Legislation link="somedirectory/onmywebserver/page.html"/>
      </Annotations>
      <type>
        <javaclass name="curam.util.type.Date"/>
      </type>
      <derivation>
        <specified>
          <Annotations>
            <!-- Expression - another relative link. -->
            <Legislation
 link="anotherdirectory/onmywebserver/page.html"/>
          </Annotations>
        </specified>
      </derivation>
    </Attribute>
  </Class>
</RuleSet>