Step 2: Matching <epm-number>
Evaluation continues by searching the children of the <authoring-application> element matched in Step 1 for an <epm-number> element whose ‘number’ attribute matches the EPMDocument’s Number.
|
<authoring-application> elements can have children other than <epm-number> elements; those elements are ignored in this step even if they appear in the Publish Rules XML file before <epm-number> elements.
|
<authoring-application name=”MY_AUTH_APP”>
<epm-number number=”1111”>
*
*
*
</epm-number>
<epm-number number=”2222”>
*
*
*
</epm-number>
</authoring-application>
If a match is found, the matched <epm-number> element becomes the root for searching for <publish> elements, which is described in Step 8; otherwise, evaluation proceeds to Step 3.