In Switch, I'm running a single action list. The action list places two white rectangles on the page and sets them to knock out, so that only a 1cm column of the layout is visible. It then gathers the ink info. After that, it moves the two rectangles 1cm to the right and gathers the ink info again. With that, I'm trying to figure out with 1cm column of the PDF has the highest ink coverage (it would take to long to explain why this is needed in my case). This works fine so far.
However, the child nodes for the path
Code: Select all
/EnfocusReport/InkInfo/DocumentInkInfo/InkPercentage
(or
Code: Select all
count(/EnfocusReport/InkInfo/DocumentInkInfo[not(../DocumentInkInfo/InkPercentage > InkPercentage)]/preceding-sibling::*)
to be more precise as I'm trying to find the index with the highest coverage) in the XML log that PitStop Server creates and Switch evaluates, are in a different order every time I run the action list with the same PDF. My expected behaviour was that PitStop would log the first time I gather ink info in child 1, the second time in child 2 etc. Is there a way to achieve that?