The accept rules in the previous example defined the content that the targeting operation should include. You can modify your rule set to exclude content, using reject rules. For example, suppose you wanted to deliver content only about rubber companies outside the United States. You could add a reject rule to your rule set like this:

<rejects>
  <rule op=eq name="U.S. companies">
    <valueof target="companyCountry">
    <valueof constant="United States">
  </rule>
</rejects>

This reject rule is true if the value of the companyCountry property of a document is “United States”. Any document that this rule identifies as relating to a U.S. company is excluded from the results of the targeting operation, and is not displayed to the user.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices