Re: [Xsltforms-support] XSLTForms enhancements?
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2016-04-10 19:46:04
|
Hi Mats, > - Allowing XSLTForms to be run as Chrome Apps, with file save/open > functionality etc. Could you please write some documentation about how you succeeded? It might be added in XSLTForms Wikibook, for example. > - Embedding SaxonCE library so that transform() function can run XSLT2 > transforms Have you modified the transform() function so that it is looking at the version of the stylesheet? Could this better be considered as a global option to be added in config files? > - Adding @async attribute to xf:setvalue/xf:insert elements for > non-blocking evaluation of long running XPath expressions in Web Workers Web Workers are not available in old browsers but all recent ones do now! I did not try to use them yet (priorities...) and I still wonder how they can access the XML DOM in the main page: is it a problem?? > - Adding validate-with-xml-schema() function, using xmllint library Is it that Chrome Apps allow you to link C libraries? > - Adding validate-with-schematron() function, using SaxonCE. Useful > for doing more advanced form validations using SVRL. Is it an XPath function? When are you calling it? Before submission? XForms is based on validation at node level whenever a value has been modified: do you think that it is also compatible with SVRL? > - Adding parse-xml() function, believe replacing need for xf:setnode xf:setvalue is there to set a value not to import nodes... That's why I added xf:setnode with the serialized XML string as parameter. In what context do you use parse-xml()? Which document/instance owns the resulting nodes? > > Would be glad to contribute these as well as some other extensions and > performance optimizations. > Will be glad to look at them in details!! Is it your intent to publish source files independently or to fork the repository? Thanks! Alain |