Changes

Jump to: navigation, search

Template / Type Formula

No change in size, 21:22, 8 January 2014
m
Changed nodecount to nodevalue, as nodecount wont ever have special characters in it
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">@level1.Success Criteria Count@=if('@level1.status@' IN ('Draft','Pending'),'@level1.xml.Success Criteria.Criteria.item.nodecountnodevalue@','@level1.Success Criteria Count@');</pre>
...use the following syntax...
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">@level1.Success Criteria Count@=if(? IN ('Draft','Pending'),?,?):=:@level1.status@:,:@level1.xml.Success Criteria.Criteria.item.nodecountnodevalue@:,:@level1.Success Criteria Count@;</pre>
Note that the criteria for the ''if'' statement are first referenced as ''?'' marks, then the ''if'' statement is separated from the criteria values using '':=:'', then the separate criteria values are separated by '':,:''
15
edits

Navigation menu