Re: [Xsltforms-support] getting exclusive lock when editing

2014-02-17 Thread peter winstanley
hile so your question was a good prompt.  Please let us know if this helps and which option you take.- Dan On Mon, Feb 17, 2014 at 2:26 AM, peter winstanley <p...@inbox.com> wrote: Hi List I know it's marginally off-topic, but I was wondering if anyone had a good illustration or design p

[Xsltforms-support] getting exclusive lock when editing

2014-02-17 Thread peter winstanley
Hi List I know it's marginally off-topic, but I was wondering if anyone had a good illustration or design pattern of getting an exclusive lock on a native XML DB file from an XSLTForm to prevent write collisions? Kind regards Peter

[Xsltforms-support] multiple observers -

2013-05-26 Thread peter winstanley
Hello List In XSLTForms can multiple observers be bound to the one event? I think this is possible with e.g. Orbeon, but is outwith the XForms standard. If not, then what is the best practice? [I want to have as DRY asn XForm as I can] Cheers Peter _

Re: [Xsltforms-support] select1 - selection=open

2013-05-20 Thread peter winstanley
Hi Alain Thank you for your help ... I will check the illustration Cheers Peter > -Original Message- > From: alain.couthu...@agencexml.com > Sent: Mon, 20 May 2013 23:16:28 +0200 > To: p...@inbox.com > Subject: Re: [Xsltforms-support] select1 - selection=open > > Hello Peter, >> is select

[Xsltforms-support] select1 - selection=open

2013-05-17 Thread peter winstanley
Hello List is selection=open possible with the XSLTForms select1. I tried it, but wasnt's successful and am uncertain if this is because of an IE deficit. Cheers Peter GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.

[Xsltforms-support] paging through items in a repeat

2013-05-09 Thread peter winstanley
Hello List Is there a way of paging through items in a repeat, one page at a time? Is there an 'iterate' function that can be used for this? Cheers Peter FREE ONLINE PHOTOSHARING - Share your photos online with your friends and fam

Re: [Xsltforms-support] Models and best practice for submission confirmation

2013-05-08 Thread peter winstanley
gt; > > > > William David Velásquez > Director de I+D > Visión Tecnológica S.A.S. > Tel: (4) 444 7292 > Cel: 313 743 54 11 > wvelasq...@visiontecnologica.com > > De: peter winstanley [p...@inbox.com] > Envi

[Xsltforms-support] Models and best practice for submission confirmation

2013-05-08 Thread peter winstanley
Hello List Are there any good examples illustrating the best way to implement a confirmation dialogue for a submission event (asking the user if they want to continue, and reverting to the form if they don't)? Many thanks Peter FREE

Re: [Xsltforms-support] constraint against the sum of a series of attributes

2013-05-04 Thread peter winstanley
Whoops! silly question! I was calculating on individuals i.e. and not the nodeset :( > -Original Message- > From: p...@inbox.com > Sent: Sat, 4 May 2013 02:24:58 -0800 > To: xsltforms-support@lists.sourceforge.net > Subject: [Xsltforms-support] constraint against the sum of a series of

[Xsltforms-support] constraint against the sum of a series of attributes

2013-05-04 Thread peter winstanley
Hello List I have a model with a set of one or more elements where the sum of the sector/@percentage attributes should always equal 100. how do I express this as a bind constraint? Cheers Peter FREE 3D EARTH SCREENSAVER - Watch the

Re: [Xsltforms-support] getting value from select1 into attribute and label into element

2013-04-26 Thread peter winstanley
Here is what I have found works: Activity Status > -Original Message- > From: p...@inbox.com > Sent: Fri, 26 Apr 2013 14:37:28 -0800 > To: xsltforms-support@lists.sourceforge.net > Subject: [Xsltforms-support] getting value from select1 into attribute > and la

[Xsltforms-support] getting value from select1 into attribute and label into element

2013-04-26 Thread peter winstanley
Hello List I know this is perhaps more a generic XForms question, but I hope some list member might be able to help me. I am creating a select1 element and I want to put the value into an attribute of my model instance and the label into the corresponding element. e.g. Post-completion where "4

Re: [Xsltforms-support] using xsltforms inside eXist-db

2013-04-25 Thread peter winstanley
the $form variable)? > Do you use xquery for that? > > If I would build the xform using Perl, I would need to build the xquery > wrapper around it (as in your example) and load it into eXist, is that > right? > > Thanks anyway, > > Ingrid > > On 24/04/13 23:17, p

Re: [Xsltforms-support] using xsltforms inside eXist-db

2013-04-24 Thread peter winstanley
Hi IngridI use XQuery to serve up my (x)html Xforms pages using XSLTForms as follows 1/  prevent the built in Betterform usingxquery version "3.0";declare option exist:serialize "method=xhtml media-type=text/xml indent=yes process-xsl-pi=no";let $attribute := request:set-attribute("betterform.f

Re: [Xsltforms-support] Select1 box: What is the reason for the delay?

2013-03-14 Thread peter winstanley
the delay? Yes, currently, there is no optimization for // in XSLTForms.It means that each and every nodes in the subtree are tested.Using the id() function, when possible, can be very useful too.-AlainLe 13/03/2013 22:02, peter winstanley a écrit : Hello AlainThanks you for our kind

Re: [Xsltforms-support] Select1 box: What is the reason for the delay?

2013-03-14 Thread peter winstanley
ms.It means that each and every nodes in the subtree are tested.Using the id() function, when possible, can be very useful too.-AlainLe 13/03/2013 22:02, peter winstanley a écrit : Hello AlainThanks you for our kind suggestions so is // much more computationally intensive than using the full path

Re: [Xsltforms-support] Select1 box: What is the reason for the delay?

2013-03-13 Thread peter winstanley
execution times. There are many ways for optimizing and I would need a testcase or a remote access to diagnose. Thank you for your feedbacks! -Alain Le 13/03/2013 16:43, peter winstanley a écrit : Dear List I

[Xsltforms-support] Select1 box: What is the reason for the delay?

2013-03-13 Thread peter winstanley
Dear List I have a simple XForm using XMLSTForms rev 565 within eXist-db version2.0.  The form has a simple select1 control in it. The control setting is selection="closed".   I am viewing the form on an IE9/Windows 7 machine.  The IE9 is in IE9 mode, not one of the other mode options. When the

[Xsltforms-support] xf:submission questions

2012-11-07 Thread peter winstanley
Hello List I have a draft xform with a submission: http://{myserver}/some-service.php?u=' ,instance('read-val'))value/u"/> In Firefox 16 this gives me a submission to http://{myserver}/some-service.php?u=12345 which seems correct but with IE7 it gives me a submission error that I am still

[Xsltforms-support] submission: parse-error

2012-10-22 Thread peter winstanley
Hello List This might be a daft question, but I am using version 525 with exist-db and I have an XForm that makes a submission to an XQuery that is returning a small well-formed piece of XML (which is indented and without the XML declaration) So, my submission is: I get my piece of XML r

Re: [Xsltforms-support] multiple "calculate" on the same bind

2012-09-18 Thread peter winstanley
                                            white                                                                                                                             Count colors                                     Colour:    

[Xsltforms-support] multiple "calculate" on the same bind

2012-09-17 Thread peter winstanley
Hello ListThis is probably a trivial question, so apologies in advance.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]AFAIK, I can only have one 'calculate' per instance

[Xsltforms-support] output pane ... show XML code

2012-07-17 Thread peter winstanley
Hello List "Daft Laddie" question here: How do I serialize an XML node so that it can be viewed in an XForms textarea as XML complete with angle brackets, indentation and preferably syntax highlighting? Many thanks Peter GET FREE S

Re: [Xsltforms-support] Examples of simple XSD restrictions

2012-05-06 Thread peter winstanley
r selection list? > > http://en.wikibooks.org/wiki/XForms/Dynamic_Selection_Lists > > If you can send us a more precise description we can create a example. > > - Dan > > On Sun, May 6, 2012 at 5:45 AM, peter winstanley wrote: >> I am looking for examples of using 

[Xsltforms-support] FW: Examples of simple XSD restrictions

2012-05-06 Thread peter winstanley
This time in plain text :) I am looking for examples of using  xsltforms to include restrictions on enumerated simple types - can anyone help please thanks Peter FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Ch

[Xsltforms-support] Examples of simple XSD restrictions

2012-05-06 Thread peter winstanley
I am looking for examples of using  xsltforms to include restrictions on enumerated simple types - can anyone help pleasethanksPeter Free Online Photosharing - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! ---