Re: [Xsltforms-support] XSLTForms on smartphone
Brought to you by:
alain-couthures
From: Bala K. <ba...@ec...> - 2011-11-29 04:52:15
|
Hi Alain - The performance quoted was with beta3RC rev 449 which i svn co'd in the last 3-4 days (the activity chart on sourceforge indicates that it was last updated some 10 days back). I basically have 2 instance XML files - one with repeats, the immediate size is 24K though it could get much larger, and the other also about 24K, used for some reference / validation. Each repeat has some ~12 fields, is presented as a row in a table, most of the fields being simple outputs, and a couple inputs. I believe the 2 inputs per row use a complex expression for some P/I allocations - something along the lines of <xforms:bind nodeset="/eCH:TxnRepayV1/eCH:Group/eCH:TxnRepayV1Loan/eCH:PrincipalPaid" readonly="true()" calculate="if(../eCH:TotalPaid > 0, if((../eCH:TotalPaid >= ../eCH:Balance + ../eCH:TotalInterestDue) and (../eCH:Balance + ../eCH:TotalInterestDue >= ../eCH:TotalDue), ../eCH:Balance, if(../eCH:TotalPaid < ../eCH:TotalInterestDue, 0, if(../eCH:TotalPaid < ../eCH:TotalDue, ../eCH:TotalPaid - ../eCH:TotalInterestDue, ../eCH:TotalPrincipalDue + (floor((../eCH:TotalPaid - ../eCH:TotalDue) div ../eCH:NextInstallmentTotalDue) * ../eCH:NextInstallmentPrincipalDue) + if(((../eCH:TotalPaid - ../eCH:TotalDue) mod ../eCH:NextInstallmentTotalDue) > ../eCH:NextInstallmentInterestDue, ((../eCH:TotalPaid - ../eCH:TotalDue) mod ../eCH:NextInstallmentTotalDue) - ../eCH:NextInstallmentInterestDue, 0) ) ) ), 0)" type="xs:decimal" /> I will get back with the profiler results soon. *--* Best Regards,* * * Bala Krishnamurthy* For a Greener Planet --- Switch to Linux & Free Open Source sDevNet Protocol: eCubeH XtsE stream _________________________________________________________________ eCubeH Research Labs* *| Appropriate Technologies for Life Essentials* *G2/258, Gulmohar Colony, Bawadian Kala, Shahapura, Bhopal, MP 462039, India Visit us: sDevNet.org > <http://sdevnet.org/> On Sun, Nov 27, 2011 at 3:06 AM, Alain Couthures < ala...@ag...> wrote: > Hi Bala, > > I would be happy to know the performance with the latest trunk revision in > the SF SVN repository. > > The profiler would also be useful to locate XPath expressions with > excessive evaluation time. > > Thanks! > > -Alain > > Le 26/11/2011 15:01, Bala Krishnamurthy a écrit : > > I got it to work. I played around with path settings for the js and css > includes in the xsltforms.xsl as well as my own xforms > > But the performance seems the same though, with PHP doing the xsl > transform on the server. > > *--* > Best Regards,* > * > * Bala Krishnamurthy* > > > |