Activity for XSLTForms

  • Mats Mats modified a comment on discussion Help

    Hi Alain! Thanks for the info. My XForms skills have become somewhat rusty, and I think what would be helpful is the possibility to see what events are being triggered and to which target elements. This used to be possible. If this feature is not available in the latest version, I presume I could start writing my forms with the older version of XsltForms and then once things are working migrate them to the latest version (plan to benefit from some html5 features like sound output and camera input!)...

  • Mats Mats posted a comment on discussion Help

    Hi Alain! Thanks for the info. My XForms skills have become somewhat rusty, and I thinn what would be helpful is the possibility to see what events are being triggered and to which target elements. This used to be possible. If this feature is not available in the latest version, I presume I could start writing my forms with the older version of XsltForms and then once things are working migrate them to the latest version (plan to benefit from some html5 features like sound output and camera input!)...

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hi Mats! Since XSLTForms 1.5, HTML and Javascript parts have been modified almost entirely. There is a new console for XPath evaluations which is more powerful than instance browser in previous versions, especially for big instances. I am thinking about adding more XPath functions for developers to be run from the console. Are you interested in performance report because of slow UI? Would you need logs for debugging? Best regards,

  • Mats Mats posted a comment on discussion Help

    Hi Alain! I have downloaded the latest version 1.7 and cannot find the profiler and trace log functions which used to be available in much earlier versions (I am now trying out the html5 notation). Are those functions not available anymore? Many thanks! KR

  • XSLTForms XSLTForms released /xsltforms/1.7/xsltforms-1.7.zip

  • Alain Couthures Alain Couthures modified a comment on discussion Help

    Since XSLTForms 1.5, there is a notation with xforms-* element to directly write forms within HTML pages without having to apply an XSLT transformation first. It is not mandatory: it is still possible to apply the modified XSLT stylesheet included in the recent releases. When migrating from older XSLTForms, old CSS rendering should probably be reconsidered because the new default rendering is different and it is defined for the xforms-* elements instead of old CSS classes on div or span elements....

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Since XSLTForms 1.5, there is a notation with xforms- element to directly write forms within HTML pages without having to apply an XSLT transformation first. It is not mandatory: it is still possible a apply the modified XSLT stylesheet included in the recent releases. When migrating from older XSLTForms, old CSS rendering should probably be reconsidered because the new default rendering is different and it is defined for the xforms- elements instead of old CSS classes on div or span elements. About...

  • Deepika Vallapuneni Deepika Vallapuneni posted a comment on discussion Help

    We are using xsltforms 1.5 beta version in our project. Looks like the developer who used that library left the company. I am looking at fixing some migration bugs that are caused by using 1.5 beta. For example I had to change all xf: elements to xforms- prefix. I am not able to get the Date field work. In 1.3 version date picker button comes up on UI but with the same code it doesn't show up when using 1.5 beta. I was trying to look for any documentation online but haven't found any reference to...

  • Ian Ian modified a comment on discussion Open Discussion

    Thank you very much Alain I see where I was going wrong. I have not came across that way of setting the namespaces it also solves a number of issues with this type of default namespace in other xml issues I have faced in c# and python. You are very kind to have modified the xhtml file. EDIT: I do have one follow up question. If I wanted to do a calculation in xf:bind to save to a node in the xml and also show the value in the xf:output tag how would i go about doing this? When the page loads it seems...

  • Ian Ian posted a comment on discussion Open Discussion

    Thank you very much Alain I see where I was going wrong. I have not came across that way of setting the namespaces it also solves a number of issues with this type of default namespace in other xml issues I have faced in c# and python. You are very kind to have modified the xhtml file. Kind regards, Ian

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hello Ian, The calculate MIP is to be used to compute a value to be stored in a node. For just rendering expression values, xf:output/@value is more appropriate. Concerning the namespace used in data, as in XSLT or XQuery, XForms allows you to define your own prefix for the form to be used in XPath expressions (there is not a good namespace support in Mozilla Firefox so an extra attribute is used as a workaround for XSLTForms). To reduce XPath expressions length, it is possible to embed bindings...

  • Ian Ian posted a comment on discussion Open Discussion

    Hello Alain, I hope you are well and thank you for producing this tool. Only recently have I discovered and started looking into XSLT and its many uses. I am particularly interested in it because in workplace we use software which allows test data to be imported as XML, and our testing apparatus output data in XML. I had been producing programs in C# and python to painstakingly transform the output XML into compliant input XML which I am now simplifying by using XSLT. Getting to the point of my email,...

  • Josselin Morvan Josselin Morvan posted a comment on discussion Open Discussion

    Hi everyone, Do you know if there is a way to prevent the creation of html output elements when the corresponding xforms field is not relevant? I mean that currently, when we have non-relevant content, the corresponding elements are just styled with display:none in css, but is there a way not to create those html output elements ? Thanks a lot for your help ! Best, Josselin.

  • Josselin Morvan Josselin Morvan posted a comment on discussion Help

    Hello Alain, Thank you very much for your help, with "mode='synchronous'" it works perfectly ! I missed this feature. Thank you again, Josselin

  • Alain Couthures Alain Couthures modified a comment on discussion Help

    Hello Josselin, It is currently not possible with XSLTForms to put the same submission more than once in asynchronous mode while the previous one is not yet finished. As a workaround, I suggest you to add "mode='synchronous'" to your submission declarations. Thank you for your feedback! --Alain

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hello Josselin, It is currently not possible with XSLTForms to put the same submission more than once in asynchronous mode while the previous one is not yet finished. As a workaround, I suggest you to add "mode='asynchronous'" to your submission declarations. Thank you for your feedback! --Alain

  • Josselin Morvan Josselin Morvan modified a comment on discussion Help

  • Josselin Morvan Josselin Morvan posted a comment on discussion Help

    Hi everyone We are developing an app with xforms (with XSLTForms client) and BaseX, to manage historical entities (actors) and conduct network analysis. In one of our forms, we fill the relations between an actor and his relatives, and we'd like, when submitting the form, to create and submit a pre-filled instance for each relative… …but we have issues with the multiple submissions. Basically, we have 3 instances : instance('entity'), for the main form <xf:instance id="entity"> <entity xmlns="">...

  • Josselin Morvan Josselin Morvan posted a comment on discussion Help

    Hi everyone We are developing an app with xforms (with XSLTForms client) and BaseX, to manage historical entities (actors) and conduct network analysis. In one of our forms, we fill the relations between an actor and his relatives, and we'd like, when submitting the form, to create and submit a pre-filled instance for each relative… …but we have issues with the multiple submissions. Basically, we have 3 instances : instance('entity') for the main form <xf:instance id="entity"> <entity xmlns=""> <name>John...

  • XSLTForms XSLTForms released /xsltforms/1.3/xsltforms-1.3.zip

  • Timofeev Dmitrii Timofeev Dmitrii posted a comment on discussion Help

    OK, thank you for explanation. I should use HTTP server

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Luis, This might not be as easy as it seems to implement this with XForms. First, I would use select/itemset/copy to always have a copy of each set of selected items somewhere in a work instance. Then, each trigger should copy the corresponding selected items using insert at the end of the targeted select. Please have a look at https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_insert_Element for more details. Finally, deleting the inserted copy should be enough to refresh the initial...

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hello Dmitrii, Using a local HTTP server is now the unique solution I see to effectively save a file locally from any browser. It is very easy to write a basic HTTP server with just Nodejs. It is a possible workaround for you? I am also working on an XQuery engine, named "Fleur", which can operate as an HTTP server with Nodejs. For example, I use it locally everyday to serve XSLTForms files and test files. It is not yet supporting PUT, POST or DELETE methods but it should be very easy to add them......

  • Timofeev Dmitrii Timofeev Dmitrii posted a comment on discussion Help

    Hello! I try to write file in local computer in Firefox, but I get errors "writeFile is not a function". I think that cause is Java. Java machine does not supported in latest versions of browsers as I heard. In server I get error "405 Method Not Allowed" - no idea. That is my example: <?xml-stylesheet href="xsltforms-1.2/xsltforms/xsltforms.xsl" type="text/xsl"?> <?xsltforms-options debug="yes"?> <xf:model id="dataA"> <xf:instance xmlns=""> <data> <text> </text></data> </xf:instance> <xf:submission...

  • Luis Tavera Luis Tavera posted a comment on discussion Open Discussion

    Hi I am trying to implement an interface with two selects and a two buttons to move the selected items from the first to the second or from the second to the first, but when I do a deep copy of the items (as in the deep-copy.xml example) the destination is overwritten with the source data. Is there a way to insert without overwriting? thanks luis

  • XSLTForms XSLTForms released /xsltforms/1.2/xsltforms-1.2.zip

  • Alain Couthures Alain Couthures committed [246a80]

    XSLTForms 1.2

  • Alain Couthures Alain Couthures committed [r648]

    XSLTForms 1.2

  • Ryan Hardey Ryan Hardey posted a comment on discussion Open Discussion

    Thanks Alain, I will work up some forms in the next few days for you. Cheers, Ryan. On Mon, 17 Sep 2018, 11:46 AM Alain Couthures alain-couthures@users.sourceforge.net wrote: Hi Ryan, I have recently added support for collapsed/expanded groups as shown in the grid example. This feature will soon be fully specified in XForms 2.0 so it is not committed yet. It was rather tricky to also support Markdown in outputs and labels, at least for main features. I still have not found an easy way to render controls...

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Ryan, I have recently added support for collapsed/expanded groups as shown in the grid example. This feature will soon be fully specified in XForms 2.0 so it is not committed yet. It was rather tricky to also support Markdown in outputs and labels, at least for main features. I still have not found an easy way to render controls in columns as in the grid theme. I now would be glad to receive your own test cases for a better proof of concept. Thanks! Alain

  • Ryan Hardey Ryan Hardey posted a comment on discussion Open Discussion

    Hi Alain, My apologies, I have both been on vacation for much of August and also not realised that I was required to explicitly subscribe to this thread to receive notifications on it. I've only belatedly realized that you have been working on this, having gone in to the discussion to see the current status. Thanks for your efforts. As for your questions above: I assume you meant 'list name' rather than 'local name', and I see that in the grid.xqy file that you have gone ahead and accomodated the...

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Ryan, There is now an alpha version of the XLSForm converter for XSLTForms. As previously mentioned, there is now work to be done in XSLTForms to extend it according to your effective expectations. Please find the generated XForms document for the grid example attached. You can also have a look at the converter itself as a script file for my XQuery engine. Regards, Alain

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Ryan, Thank you very much for posting those files. While finishing my own XLSForm to XForms converter, I now have some basic questions/remarks. First, the converter was not able to locate the "local_name" column for choices because it is named "local name" (space instead of underscore) in grid.xslx... I can read that synonyms have to be supported (http://xlsform.org/en/ref-table/). What do you think? It is also possible to specify multiple languages in XLSForm. Is it a requirement for you? The...

  • Ryan Hardey Ryan Hardey posted a comment on discussion Open Discussion

    Hi Alaine, I've been doing a little more research and have found a form that is representative of the type that my client would use. It is a demonstration XLSForm from https://blog.enketo.org/gorgeous-grid/, called grid.xlsx. This would be a good place to start to see what can be done in XSLTForms, and from there I will mock up other forms with additional functionality. I used the website https://opendatakit.org/xlsform/ to generate a preview and the XForm document I've also attached (grid.xml)....

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Ryan, XForms as a replacement for PDF forms can surely be powerful but saving a file with just a browser is yet tricking without Java applets (for example, data can be rendered within a new tab so the user can effectively save it). Because of native HTTP features of nodeJS, fleur, my XQuery implementation, comes with an integrated HTTP server which, of course, can publish XForms documents based on XSLTForms: with it, .xqy pages, executed by nodeJS, can also write files locally. Is nodeJS requirement...

  • Ryan Hardey Ryan Hardey posted a comment on discussion Open Discussion

    Hi Alaine, I'm not in a hurry... yet. I've been tasked with researching XForms as an alternative to my client's use of PDF forms and a very limited third party application that renders the forms and extracts the captured data. One of the requirements for the eventual solution is that it can run stand-alone in the client (i.e. browser), and it seems that your solution is one of the few that is capable of this. It also seems to be quite light weight which is another attractive feature, It seems however...

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Ryan, Thank you for pointing again at this! Because of my own XQuery implementation written in Javascript for both browsers and nodeJS now being capable of reading Excel files, it certainly sounds like a very good idea to rapidly prototype a subset of XLSForms for XSLTForms with it. Are you in a hurry about such a building tool? Could you provide me test files? Thanks again, Alain

  • Ryan Hardey Ryan Hardey posted a comment on discussion Open Discussion

    Hi Alaine, Does XSLTForms support XForms generated via XLSForms? I found some old information on the net where you were in discussion with someone about perhaps providing such support in the tool but I never saw whether this was implemented. Failing this, would you be able to recommend a more W3C compliant XForms building tool, or at least one that builds forms that XSLTForms supports, and is as easy to use as XLSForms? Thanks in advance for your response, Ryan.

  • Robert Robert posted a comment on discussion Help

    Good news, thank you!

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hi Robert, There is a workaround for issues with repeats in tables with header: just add explicit thead and tbody. In your test case: <h:table> <h:thead> <h:tr> <h:th>date</h:th> <h:th>subject</h:th> </h:tr> </h:thead> <h:tbody> <repeat nodeset="instance('iEmployees')/employee[1]/email" id="repeatWithTable"> <h:tr> <h:td><input ref="@date"></input></h:td> <h:td><input ref="@subject"></input></h:td> </h:tr> </repeat> </h:tbody> </h:table> This is due to XSLTForms 1.x need for an ancestor to store...

  • Robert Robert posted a comment on discussion Open Discussion

    See details in: https://sourceforge.net/p/xsltforms/discussion/878085/thread/e846f766/

  • Robert Robert posted a comment on discussion Help

    Hi Alain, I wonder, using XSLTForms what is the correct way to have an HTML table within a repeat element? In the XForms 1.1 W3C Recommendation (at 9.3.5 Creating Repeating Structures Via Attributes) I read that it should be possible, so I tried 3 ways in the attached code. 1. Repeat with table: this succeeds in displaying the table, but the index() function doesn't seem to work. 2. Table with repeat-nodeset attribute: this doesn't work, as written in the XSLTForms book (https://en.wikibooks.org/wiki/XSLTForms/XForms_1.1#Container_Form_Controls)....

  • Robert Robert posted a comment on discussion Open Discussion

    Hi Alain, it works now. Thank you for your quick response! Robert

  • Alain Couthures Alain Couthures posted a comment on discussion Open Discussion

    Hi Robert, This issue has been fixed with rev. 648. XSLTForms 1.1 has just been uploaded to ease download process. Thank you for your feedback! --Alain

  • XSLTForms XSLTForms released /xsltforms/1.1/xsltforms-1.1.zip

  • Robert Robert posted a comment on discussion Open Discussion

    Hi all! Xforms and xsltforms are awesome! Thanks for the work on it. I had a problem using them while creating an application which helps in analyzing the email traffic of employees. The desired behaviour of the attached form would be: If I select an employee, only his/her emails are shown. Bug #1 If I select "employee B" (has 3 emails), after this I select "employee A" (has 2 email summaries), the last email of "employee B" remains in the repeat erroneously. Bug #2 If I click in the rows of the...

  • Alain Couthures Alain Couthures committed [r647]

    XForms 1.1+ with XPath 1.0 Engine

  • Alain Couthures Alain Couthures committed [9625b9]

    XForms 1.1+ with XPath 1.0 Engine

  • XSLTForms XSLTForms released /xsltforms/1.0/xsltforms-1.0.zip

  • Alain Couthures Alain Couthures committed [r646]

    regexp:match + setvalue for nodeset

  • Alain Couthures Alain Couthures committed [d54139]

    regexp:match + setvalue for nodeset

  • Alain Couthures Alain Couthures committed [r645]

    Relevance pruning for attributes

  • Alain Couthures Alain Couthures committed [df4148]

    Relevance pruning for attributes

  • Alain Couthures Alain Couthures committed [r644]

    Empty Itemset Fix #3

  • Alain Couthures Alain Couthures committed [da80d5]

    Empty Itemset Fix #3

  • Alain Couthures Alain Couthures committed [r643]

    Empty Itemset Fix #2

  • Alain Couthures Alain Couthures committed [b4a615]

    Empty Itemset Fix #2

  • Alain Couthures Alain Couthures committed [r642]

    Empty Itemset Fix

  • Alain Couthures Alain Couthures committed [b52336]

    Empty Itemset Fix

  • Alain Couthures Alain Couthures committed [r641]

    Multimodel var dependency

  • Alain Couthures Alain Couthures committed [b2b0ba]

    Multimodel var dependency

  • Alain Couthures Alain Couthures committed [r640]

    TinyMCE 4.5.3 Integration

  • Alain Couthures Alain Couthures committed [7d0e8f]

    TinyMCE 4.5.3 Integration

  • Alain Couthures Alain Couthures committed [r639]

    itemset/copy initialization

  • Alain Couthures Alain Couthures committed [481157]

    itemset/copy initialization

  • Alain Couthures Alain Couthures committed [r638]

    itemset/copy and @appearance='full'

  • Alain Couthures Alain Couthures committed [664d77]

    itemset/copy and @appearance='full'

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hello Raja, XSLTForms 1.0 RC is now to be considered as an old release. Rev 637 is...

  • rajasekhar rajasekhar posted a comment on discussion Help

    Hi All, when I have loaded the xsltforms with version 1.0 RC with latest FF browser,...

  • Alain Couthures Alain Couthures committed [157af5]

    Text node binding

  • Alain Couthures Alain Couthures committed [r637]

    Text node binding

  • Alain Couthures Alain Couthures committed [r636]

    Javascript-generated instances in subforms

  • Alain Couthures Alain Couthures committed [41c4db]

    Javascript-generated instances in subforms

  • Alain Couthures Alain Couthures committed [r635]

    First Hour Fix

  • Alain Couthures Alain Couthures committed [21dd08]

    First Hour Fix

  • Alain Couthures Alain Couthures committed [r634]

    xf:setselection, selection() and control-proper...

  • Alain Couthures Alain Couthures committed [0670b3]

    xf:setselection, selection() and control-proper...

  • Alain Couthures Alain Couthures committed [r633]

    AVT for xf:wrap

  • Alain Couthures Alain Couthures committed [ae2f57]

    AVT for xf:wrap

  • Alain Couthures Alain Couthures committed [r632]

    xf:wrap Demo

  • Alain Couthures Alain Couthures committed [bc0517]

    xf:wrap Demo

  • Alain Couthures Alain Couthures committed [r631]

    AVTs on ids

  • Alain Couthures Alain Couthures committed [5a569b]

    AVTs on ids

  • Richard Hung Richard Hung posted a comment on discussion Help

    Hello Alain, Thanks a lot for looking into this! We are half way there! It works...

  • Alain Couthures Alain Couthures posted a comment on discussion Help

    Hi Richard, I have just been looking more deeply at your request and I think that...

  • Richard Hung Richard Hung posted a comment on discussion Help

    Hi Alain, Thank you for your prompt response. We are using it for the configuration...

  • Alain COUTHURES Alain COUTHURES posted a comment on discussion Help

    Hello Richard, AVT is new in XForms (https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Attribute_Value_Templates)...

  • Richard Hung Richard Hung modified a comment on discussion Help

    Hello, I'm using XSLTForms with Bootstrap, and trying to make the panel collapsible....

  • Richard Hung Richard Hung modified a comment on discussion Help

    Hello, I'm using XSLTForms with Bootstrap, and trying to make the panel collapsible....

  • Richard Hung Richard Hung modified a comment on discussion Help

    Hello, I'm using XSLTForms with Bootstrap, and trying to make the panel collapsible....

  • Richard Hung Richard Hung posted a comment on discussion Help

    Hello, I'm using XSLTForms with Bootstrap, and trying to make the panel collapsible....

  • Alain COUTHURES Alain COUTHURES committed [r630]

    1.0 pre-release

  • Alain COUTHURES Alain COUTHURES committed [33ae68]

    1.0 pre-release

  • Alain COUTHURES Alain COUTHURES committed [r629]

    Chrome 48 Support

  • Alain COUTHURES Alain COUTHURES committed [25abe4]

    Chrome 48 Support

  • Alain COUTHURES Alain COUTHURES committed [r628]

    Chrome 48 Support

  • Alain COUTHURES Alain COUTHURES committed [61eb1e]

    Chrome 48 Support

  • Alain COUTHURES Alain COUTHURES committed [r627]

    format-number() Support

  • Alain COUTHURES Alain COUTHURES committed [2539e0]

    format-number() Support

1 >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.