[Xsltforms-support] multiple "calculate" on the same bind
Brought to you by:
alain-couthures
From: peter w. <p....@in...> - 2012-09-17 18:04:12
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><META content="INBOX.COM" name=GENERATOR></HEAD> <BODY> Hello List<br><br>This is probably a trivial question, so apologies in advance.<br><br>I have an xform for which I want to calculate two or more seperate counts [ e.g. count of nodes where colour=white and another count of the same instance where colour=black]<br><br>AFAIK, I can only have one 'calculate' per instance/nodeset. {I would appreciate clarification here}, so the only way that I have been able to do this is to have the same XML instance in two separate models and to have one bind and calculate in one model and the other bind and calculate in the other model.<br><br>How should I really do this?<br><br>Thanks<br><br>Peter<br> <hr size="1px" noshade style="clear:both;margin-top:10px;height:1px;"> <div style="font:12px Verdana,sans-serif;color:Black;background:white;padding:3px;line-height:1.3em"> <a href="http://www.inbox.com/earth"><img src="http://my.inbox.com/img/ftrs/earth.jpg" width="100" hight="90" alt="3D Earth Screensaver Preview" align="left" border="0" style="margin-right:15px" /></a> <br><strong><font color="2086c3">Free 3D Earth Screensaver</font></strong><br> <nobr>Watch the Earth right on your desktop!</nobr> <nobr>Check it out at <a href="http://www.inbox.com/earth">www.inbox.com/earth</a></nobr></div> </BODY> </HTML> |