Re: [Xsltforms-support] Slow bind
Brought to you by:
alain-couthures
|
From: Mark S. <m_s...@ma...> - 2016-01-21 13:44:09
|
Hi Tim, Thanks for that, show’s what a long time it is since I used bind in XForms! You made me look at my misuse of syntax. I have now replaced @ref with @nodeset and @value with @calculate and my form has speeded up considerably, with the @calculate taking 5 seconds. Best wishes Mark On Thu, Jan 21, 2016 at 1:01 pm, Tim Thompson <tim...@gm...> wrote: Mark, I'm probably missing something, but is @value a valid attribute for xf:bind? Could this be collapsed into a single @ref expression? Tim -- Tim A. Thompson Metadata Librarian (Spanish/Portuguese Specialty) Princeton University Library On Thu, Jan 21, 2016 at 6:10 AM, Mark Seaborne < m_s...@ma... [m_s...@ma...] > wrote: Hi there, I am using bind to carry out a simple code conversion. The bind looks like this: <xf:bind ref="instance(‘x')/featureMember/item/code" value="id(string(current()/../itemUID), instance(‘y'))/value[3]/code/@href”/> I find that the bind really slows form loading time and form performance. The bind takes 3 seconds in a very small form and more than 20 seconds in the real form. There are about 360 records in each instance. Does anyone have any suggestions as to how I could improve performance? I have no control over the XML structures. Best wishes Mark ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311 |