As well as adding discount types and calculators, you can extend the PMDL itself; for example, you may have a need for a <xor> element, which is not included in the PMDL by default.

For iterators, quantifiers, comparators, and operators, the process is extremely simple:

<operator name="xor">

</operator>

If you want to add an element other than iterators, quantifiers, comparators, and operators, you must also update the DTD to support the new element.

When adding elements to the PMDL, use the name attribute rather than directly naming the new element. For example, if you add a custom xor operator, the following PMDL is valid:

<operator name="xor">
….
</operator>

Note that the following is not valid unless you have also updated the DTD:

<xor>
….
</xor>

You can use the new tag in your custom promotions templates. Note however that the new tag does not appear in the Advanced condition and offer expression editor.


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