Re: [Xsltforms-support] Parsing error in XSLTForms 1.7

2023-04-04 Thread Josselin Morvan
Hi Winona, Maybe a typo with the first instance name (porject for project ?) : instance('i-porjectSpecificData') => instance('i-projectSpecificData’) ? Could you share a sample file if it still doesn’t work? Best, Josselin > Le 4 avr. 2023 à 15:52, Winona Salesky a écrit : > > Hi All, >

Re: [Xsltforms-support] Preview XML

2022-05-23 Thread Josselin Morvan
Hi Winona, Did you try the serialize() function with the xf:ouput element ? You could also add a xf:dialog with the serialized view before saving (see sample below) Best, Josselin http://www.w3.org/1999/xhtml"; xmlns:xf="http://www.w3.org/2002/xforms"; xmlns:ev="http://www.w3.org/2001/

Re: [Xsltforms-support] Cancelling loop/action

2021-02-14 Thread Josselin Morvan
ase try again with an empty browser cache? > > Thanks! > > --Alain >> Le 13/02/2021 21:45, Josselin Morvan a écrit : >> >> >> Hi Alain, >> >> Thank you very much for your feedback. I tried what you suggest, >> unfortunately, if it works

Re: [Xsltforms-support] Cancelling loop/action

2021-02-13 Thread Josselin Morvan
submissions: > the one to be activated at the end is to be tested before the one to be > activated repeatedly. > > >submission="submitBio"/> >submission="submitNewPerson"/> > > > Thank you for your feedback! > > --Alain >&g

Re: [Xsltforms-support] A newbie seeking some guidance...

2021-02-11 Thread Josselin Morvan
t; mix of xf: and non-xf: and work fine, but my xml seems to need every element > marked 'xf:'. > > Anyway, many thanks - and hopefully I'll leave you in peace for a while now! > > Ralph > > > >> On 11/02/2021 18:52, Josselin Morvan wrote: >>

Re: [Xsltforms-support] A newbie seeking some guidance...

2021-02-11 Thread Josselin Morvan
mplate')/listPerson/person/occupation"> > Role > > > New role > at="index('repeat-occ')" > position="after" ev:event="DOMActivate" /> > > > > > > New > position="after" ev:event="DOMActi

Re: [Xsltforms-support] A newbie seeking some guidance...

2021-02-10 Thread Josselin Morvan
Hi Ralph, I don’t know if your are trying to work with the first instance (we cannot access to the listPerson.xml file) or your #template instance, but I suspect an error with your Xpath. If your listPerson is a XML-TEI file, your xml-tree should be something like : http://www.tei-c.org/ns/1.

Re: [Xsltforms-support] Cancelling loop/action

2021-02-06 Thread Josselin Morvan
; the problem is indeed with a submission being activated twice, but my reading > of the spec is that it should be possible once submit-done has been > dispatched. I will raise this with the working group. > > Best wishes, > > Steven > > On Thursday 04 February 2021 23:42

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Josselin Morvan
"submission-in-progress" if you do a > in the handler for submit-done (apparently you put the message > element in the wrong place). > > Steven > > On Thursday 04 February 2021 23:42:37 (+01:00), Josselin Morvan wrote: > > Hi Steven, > > Thank you for y

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Josselin Morvan
Hi Steven, Thank you for your quick response. Unfortunately, all the error events are empty. So, I tried your method with the dispatch element. At first it didn’t work either, then I added a delay to the dispatch and… it works! As I said, when the submission is done, I update my instance with t

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Josselin Morvan
-submit-done ? Tomorrow I’ll try with dispatch and I’ll make a sample form to show you. Thanks a lot for your help, Best, Josselin Envoyé de mon iPhone > Le 4 févr. 2021 à 15:34, Josselin Morvan a écrit : > Hi Steven, > > Thank you very much for your answer. I don't know wh

Re: [Xsltforms-support] Cancelling loop/action

2021-02-04 Thread Josselin Morvan
> Steven > > On Thursday 04 February 2021 11:58:49 (+01:00), Steven Pemberton wrote: > > One way would be to submit just one, and let the xforms-submit-done event > handler initiate the next. > > > > > > > > > > &g

[Xsltforms-support] Cancelling loop/action

2021-02-03 Thread Josselin Morvan
Hi all, With one of my forms I have a « submission loop » and I try, when I get an « xforms-submit-error », to stop the loop, do you know how we can do that ?. Basically, my form concerns a list of person. I can add informations about the existing ones and, of course, add new persons. Each «

Re: [Xsltforms-support] Saving multiple instances to the same xml file from within the same form

2021-02-03 Thread Josselin Morvan
Hi Alessandro, I don’t know if you saw the Alain’s answer, but as he said, the use of submission/@ref will help you to reach your goal. It will allow you to determine which instance should be saved by each submission. By default, when @ref isn’t specified, it is the first one.

Re: [Xsltforms-support] XSLTForms 1.5

2021-01-20 Thread Josselin Morvan
list and decided to add a new person.Josselin.   issue.xml Description: XML document Le 18 janv. 2021 à 22:31, Josselin Morvan <morvan.josse...@gmail.com> a écrit :Hi Alain, Thank you very much for fixing this issue.I’m now experimenting another one with the binding rules and the use of xf:repeat. It

Re: [Xsltforms-support] XSLTForms 1.5

2021-01-18 Thread Josselin Morvan
ub.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip > > <https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip> > > Thank you for your feedback! > > --Alain >> Le 05/01/2021 11:58, Josselin Morvan a écrit : &g

Re: [Xsltforms-support] XSLTForms 1.5

2020-12-17 Thread Josselin Morvan
Hi Alain, Thank you for the xsltforms 1.5 release !!I tried this release with a previous form, everything seems to work except I’m experimenting some issues with the xf:copy element when xf:select (or xf:select1) is set with @appearance=‘full’. It works fine with @appearance=‘minimal/compact’.I als