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,
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....
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...
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...
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
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
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...
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......
XSLTForms 1.2
XSLTForms 1.2
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
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
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...
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...
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
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...
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
XForms 1.1+ with XPath 1.0 Engine
XForms 1.1+ with XPath 1.0 Engine
regexp:match + setvalue for nodeset
regexp:match + setvalue for nodeset
Relevance pruning for attributes
Relevance pruning for attributes
Empty Itemset Fix #3
Empty Itemset Fix #3
Empty Itemset Fix #2
Empty Itemset Fix #2
Empty Itemset Fix
Empty Itemset Fix
Multimodel var dependency
Multimodel var dependency
TinyMCE 4.5.3 Integration
TinyMCE 4.5.3 Integration
itemset/copy initialization
itemset/copy initialization
itemset/copy and @appearance='full'
itemset/copy and @appearance='full'
Hello Raja, XSLTForms 1.0 RC is now to be considered as an old release. Rev 637 is...
Text node binding
Text node binding
Javascript-generated instances in subforms
Javascript-generated instances in subforms
First Hour Fix
First Hour Fix
xf:setselection, selection() and control-proper...
xf:setselection, selection() and control-proper...
AVT for xf:wrap
AVT for xf:wrap
xf:wrap Demo
xf:wrap Demo
AVTs on ids
AVTs on ids
Hi Richard, I have just been looking more deeply at your request and I think that...
Hello Richard, AVT is new in XForms (https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Attribute_Value_Templates)...
1.0 pre-release
1.0 pre-release
Chrome 48 Support
Chrome 48 Support
Chrome 48 Support
Chrome 48 Support
format-number() Support
format-number() Support
Non-XML Support Integration
Non-XML Support Integration
De-Select for select1
De-Select for select1
New function for setfocus to invalid control
New function for setfocus to invalid control
Workaround for Firefox running scripts twice
Workaround for Firefox running scripts twice
Subforms improvements #2
Subforms improvements #2
Subforms improvements
Subforms improvements
Chrome 45 Support
Chrome 45 Support
dateTime Widget Fix
dateTime Widget Fix
CDATA Support
CDATA Support
Indented serialization from Fleur
Indented serialization from Fleur
MS Edge Preview + tokenize() Support
MS Edge Preview + tokenize() Support
MS Edge Preview Support
MS Edge Preview Support
Adjacent Apostrophes and Quotes Support
Adjacent Apostrophes and Quotes Support
SHA-256 + HMAC Support
SHA-256 + HMAC Support
TinyMCE 4.X Support
TinyMCE 4.X Support
HTML5 Spinner Control Support
HTML5 Spinner Control Support
Language setting with PI
Language setting with PI
itemset/copy + label/@for Support
itemset/copy + label/@for Support
Date and Time controls improvements