Hi Alex,
XSLTForms v1.7 includes two mechanisms for internationalization: the legacy one
based on config_XXX.xsl files and the new embedded one (Javascript config_data
object) for a form to be a standalone HTML file.
When no language is specified within the form, in legacy mode, XSLTForms gets
Hi Alex,
I cannot yet reproduce this issue with the date picker. It works as expected
with my own test forms.
Could you please post a minimal test form and corresponding screen captures?
Thanks!
--Alain
> Le 21/01/2025 16:51 CET, Alessandro via Xsltforms-support
> a écrit :
>
>
> Hi all,
ot.
Thanks!
-Winona
On Sun, Dec 31, 2023 at 8:00 AM Alain Couthures <alain.couthu...@agencexml.com&g
y textareas that I want editable will be in subforms. Not sure if that adds another layer of complication or not.
Thanks!
-Winona
On Sun, Dec 31, 2023 at 8:00 AM Alain Couthures <alain.couthu...@agencexml.com> wr
Hi Winona,
Sorry for the delay.
Please have a look at the tinymce.xml sample (https://github.com/AlainCouthures/declarative4all/blob/master/public/samples/tinymce.xml).
Because of compatibility issues bet
Hi Winona,
XSLTForms now allows to add HTML attributes to input/textarea elements given they are in HTML namespace such as .
Whether dir="auto" should be systematically added by XSLTForms is a good question. For inputs, this should be added wi
Hi Mark,
Thanks you for this hint: it appears that the drop-down list is only refreshed by an iPad with iPadOS 17.1.1 when the focus on it is lost by the select element.
As a workaround, a _javascript_ blur() call, followed by a delayed focus(
Hello Tony,
It might be possible to add support of Schematron in XSLTForms, transposing rules into constraints with _javascript_ and DOM.
XPath 3.1 support in XSLTForms will not be available before 2.0. Is XPath 1.0 a problem?
Hello Tony,
I would suspect a missing namespace declaration because there is no prefix for "DateTimeWithTimezoneDatatype". A minimal test form should be necessary to investigate.
There is currently not full support for XML Schema but
Hi Winona,
Yes, a simple example would be much helpful (line #14678 of xsltforms.js for 1.7 does not contain a removeChild call).
Thanks!
--Alain
Le 10/05/2023 14:09 CEST, Winona Salesky a écr
Hi Winona,
Because the HTTP request is processed with XMLHttpRequest, the _javascript_ part of XSLTForms is looking at the response for a possible processing instruction and an XSLT stylesheet to be applied.
I always use the browser debugger t
Hi Winona,
Since version 1.5, there is a new XPath parser written in _javascript_.
There is a bug in it when there is a wildcard for prefix between an axis and a local name (in this error: "descendant::*:editionStmt").
As
CEST, Alain Couthures a écrit :
Hi Winona,
For an undo facility, you should store the corresponding instance, or a part of it, within another instance, possibly in successive states.
It should be done
Hi Winona,
For an undo facility, you should store the corresponding instance, or a part of it, within another instance, possibly in successive states.
It should be done with the insert action before deleting the element, as a "commit", and a r
wikipedia search example.
Best Regards,
Javier
El 22/9/19 a las 19:49, Alain Couthures escribió:
Hello Tim,
Yes, open selection is not yet supported and using HTML5 autocompletion has already been tested as a
Hello Robert,
The URI for the event namespace starts with "http://" not "https://".
Please find attached a working test case
--Alain
Le 28/11/2022 17:23 CET, Robert Kirkpatrick a écrit :
Mozilla Firefox does not handle namespaces correctly in its bugged XSLT processor.
Adding such dummy attributes allows XSLTForms to detect namespaces correctly anyway...
--Alain
Le 13/01/2023 15:56 CET, Robert Kirkpatrick a éc
Hi Winona,
XPath axes usage is a possibility for such a complex test case.
First, the self:: axis can be used to reduce the size of XPath expressions testing lists of node names.
XForms, as XSLT, is always p
would like to have a look at your sign-in form to analyze when it should be called (according to @replace=all, I presume).
Thanks in advance,
--Alain
Le 16/08/2022 19:57 CEST, Alain Couthures a écrit :
e, this is the xml:
anon
Regards
Habs
On Sun, 27 Nov 2022, Alain Couthures wrote:
Hello Habs,
The new debugger console allows y
Hello Habs,
The new debugger console allows you to dynamically evaluate any XPath expressions such as "instance()".
Extra XPath functions might help debugging (for example, the next XPath/XQuery engine will come with a "instance-ids()" functio
Hello Habs,
First, please let me explain what made a standalone form possible:
Because XForms Specifications define their own elements to be mixed within some host language such as HTML, any XForms implementation to be used within a web browse
Hello Robert,
This mailing list has not been replaced. It is effectively not very active currently...
--Alain
Le 10/11/2022 11:41 CET, Robert Kirkpatrick a écrit :
This mailing list l
Robert,
The attributes @repeat-* are not yet supported in XSLTForms 1.6.
As a workaround, it is possible to use xforms:repeat controls and DIV elements instead, with display set to table, table-row or table-cell.
Concerni
Hello Tim,
As usual, events are not fired similarly in these browsers.
I already have a possible fix but for Firefox only.
I will investigate some CSS trick to detect autofill for Chromium browsers.
Hello,
XSLTForms 1.6 can now be downloaded at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip.
The "file:" scheme is supported in submissions to read and write files locally, thanks to _javascript_ File Syste
Hi Javier,
It appears to be a dependency issue. As a workaround, adding xforms-build action for the select1 control is enough to get expected behavior.
I would like to check with previous XSLTForms releases. Can you please post the XForms source for
20:53, Alain Couthures a écrit :
Hi Javier,
Before committing a new build, I will first try to write a fix based on @disable-output-escaping specifically for xalan-j to preserve the current transformation which has been successfully
Hi Javier,
The new XForms Debugger will be extended to integrate profiling data and trace log.
It will probably be based on extra XPath functions.
What are you precisely looking for?
Thank you for your answer!
ava project. If I have spare time, I will try to check it with saxon.
Best regards,
Javier
El 13/6/21 a las 17:55, Alain Couthures escribió:
EXTERNAL EMAIL - Do not click any links or open any attachments unless you trust the sender and know the
Hi Javier,
Thank you for fixing this issue with the XSLT transformation when performed at server side.
I would like to know which XSLT engine you are using because browsers are not impacted (valid HTML serialization).
Extra non-br
Hi Alessandro,
Since XSLTForms 1.5, CSS styling is to be based on custom elements.
The easiest way to determine what is possible, is to look at the elements with the browser debugger.
In this case, the selected repeat item has an
On Mon, Mar 29, 2021 at 1:25 PM Alain Couthures <alain.couthu...@agencexml.com> wrote:
Hello Tim,
There was a missing i
When developing web applications, XForms, because it has been specified to be implemented in browsers, is not enough.
XSLTForms is a client-side XForms implementation using XSLT 1.0 as a trick to transform XForms pages into HTML pages with CSS and _javascript_. It wo
Hello Tim,
There was a missing initialization in XSLTForms 1.5.2 for table repeats within a repeat.
This has been added as XSLTForms 1.5.3 at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip
Hi Josselin,
In this test case, an event is defined so two submissions are to be sent synchronously, one after one, according to a condition which should be true for one only. The first one will send again the same event producing a submission loop effect. But the fir
Thank you for your help, best,
Josselin
Le 9 janv. 2021 à 20:01, Alain Couthures <alain.couthu...@agencexml.com> a écrit :
Thank you for your help, best,
Josselin
Le 9 janv. 2021 à 20:01, Alain Couthures
Hi Alex,
To select which instance you want to submit, you have to use submission/@ref. Both submission/@replace and submission/@instance are only used for the response of the submission.
By default, the first instance is the one to be serialized and
27;block' as a default in
xsltforms ?
Regards
Habs
-- Forwarded message --
Date: Sat, 5 Dec 2020 11:30:25 + (GMT)
From: Habs <gen-...@useyouresp.org.uk>
To: Alain Couthures <ala
Hello,
Please contact me if Internet Explorer support in XSLTForms is still important for you.
Next releases should benefit from recent HTML5 and _javascript_ features, don't you think?
Thank you for your feedback!
Hello,
XSLTForms 1.5 can now be downloaded at https://github.com/AlainCouthures/declarative4all/raw/master/public/direct/xsltforms.zip
The corresponding CSS stylesheet has been aligned to the one in the XForms Tutorial written by Steven Pemberton fo
No problem. Did you see my answer about not being correct because instance element has to be in XForms namespace?
Le 16 juin 2020 à 18:57, Jay Straw a écrit :
BTW, this was XSLTForms 1.3, sorry I didn't mention that before.
On Sun, Jun 7
available-files.xml
xml
version
=
"
1.0
"
encoding
=
"
UTF-8
"
?>
<
files
xmlns
=
""
>
Because HTML5 attributes such as @selected are typed, XSLTForms 1.5beta has to avoid potential conflicts: except @id, @style and @class, every attribute for an XForms element is renamed with the "xf-" prefix for HTML5.
HTML5 also considers that custom elements cannot
Hi Jay,
Attempts with cannot work because this element has no namespace instead of XForms namespace. It is a better practice to explicitly add xmlns="" at the document element of the instance instead.
--Alain
Le 8 juin 2020 à 07:52, Jay St
Hello Alex,
Thank you for reporting this issue which is now fixed in 1.5beta.
XSLTForms releases come with multiple config files and asking for a missing one was causing the form to abort.
There has been an Italian translation for
only interested in when the elements are visible) can override the default case. The long, specific selectors for display: none will never need to be overridden.
Steven
On Sun, 10 May 2020 16:06:25 +0200, Alain Couthures
ced by the specificity of the most specific complex selector in its selector list argument.
On Sun, 10 May 2020 09:57:26 +0200, Alain Couthures wrote:
Hello Habs,
Sorry, I am not a CS
I can now run your webserver (using Windows Subsystem for Linux) and I can see that, apparently, only Chromium-based browsers do send 2 requests for xsltforms.xsl.
It appears that the first one could be just for accepting text/css and the network debugger does not ren
Hello Habs,
Sorry, I am not a CSS expert but I think that, in such as situation, you have to add !important in your own CSS rule to override the default behaviour.
Thank you for your feedback!
--Alain
Le 22 avril 202
doesn't work yet?
(Working to get the testsuite running under the new release).
Best wishes,
Steven
On Wed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote:
ms-valid on
0 -> Dispatching event xforms-value-changed on
1 -> Dispatching event xforms-disabled on
0 -> Dispatching event xforms-enabled on
1 -> Dispatching event xforms-enabled on
0 -> Dispatching event xforms-enabled on
0 ->
:54 AM Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hello Tim,
It appears that there is actually no event attached to this
refresh action. The latest 1.5beta build does not support this
situation so a Javascript error occurs (I don't know whether a
works as expected:
https://www.tat2.io/basex2/static/xsltforms_var_test_2020-02-17_with_var_1.4.xml
Best regards,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Mon, Feb 17, 2020 at 3:54 PM Alain Couthures
mailto:alain.couthu...@agenc
.nl>> wrote:
Exciting to be testing the new implementation.
I'll start simple.
[Enter] in an doesn't seem to dispatch a DOMActivate.
For instance,
https://homepages.cwi.nl/~steven/forms/examples/lists/list3.xhtml
Steven
On Wed, 05 Feb 2020 21:1
ed, 05 Feb 2020 21:15:57 +0100, Alain Couthures wrote:
Hello,
Please find a new release for XSLTForms at
www.agencexml.com/1.5beta/xsltforms.zip
It has not yet been fully tested because a lot of changes
Steven Pemberton.
Thanks again,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Wed, Feb 12, 2020 at 4:00 PM Alain Couthures
mailto:alain.couthu...@agencexml.com>> wrote:
Hello Tim,
(1) The xf:gro
f :)
It's quite amazing to see the xsltforms.xsl file down to just over
500 lines.
Thanks again for all your work.
Best regards,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Wed, Feb 5, 2020 at 3:16 PM Alain Couthu
Hello,
Please find a new release for XSLTForms at
www.agencexml.com/1.5beta/xsltforms.zip
It has not yet been fully tested because a lot of changes have been made
and you are welcome to locate remaining issues with your own forms.
The XSLT part has been reduced to minimal for better perform
quot;post"
id="sendStuff">
Original Message
Subject: Re: [Xsltforms-support] question about conversion from
ubiquity
From: Alain Couthures mailto:alain.couthu...@agencexml.com>>
Date: Thu, January 16, 2020 10:5
Chris
On 1/11/20 8:41 AM, Alain Couthures wrote:
Hello Chris,
As far as I remember, Ubiquity had a limitation about models not to
be declared in head section but in body section.
Hello Chris,
As far as I remember, Ubiquity had a limitation about models not to be
declared in head section but in body section.
I suggest you to first check that XSLTForms samples are OK for you.
Then, to compare with Ubiquity.
If possible, please don't hesitate to send a full form source
ture, or is it still being tested? Based on my
initial tests, I assume it hasn't been fully implemented yet, but I
thought I would ask :)
Best regards,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Sat, Mar 30, 2019 at 6:41 AM Alain Couthures
mailto:alai
Hello,
Web sockets support in XSLTForms could be interesting, don't you think?
It could probably be implemented at instance level, maybe with a
specific scheme, such as "ws://".
Thank you for sharing links and ideas!
--Alain
Message transféré
Sujet : XForms and W
Centre-ville, Montréal QC H3C 3J7
Tél. +1 514 343-6026
emmanuel.chateau.dut...@umontreal.ca
<mailto:emmanuel.chateau.dut...@umontreal.ca> | @emchateau
Le 18 mars 2019 à 04:29, Alain Couthures
<mailto:alain.couthu...@agencexml.com>> a écrit :
Hello Emmanuel,
Unfortunately, HTML5 i
Hello Emmanuel,
Unfortunately, HTML5 is not providing a native solution for some open
selection ready to be used by XSLTForms.
It is still possible to add this to XSLTForms with multiple HTML
elements and CSS classes. Did you already have a look at this example:
http://www.agencexml.com/xslt
Tim,
In XForms 1.1, at
https://www.w3.org/TR/xforms11/#ui-selection-commonelems-itemset, "The
node-set that holds the available choices is specified via the Node Set
Binding.".
In XForms 2.0, at
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_item_Element,
"The sequence that h
Hi Peter,
Adding support for uuid() in XSLTForms was not difficult, it will be
committed as soon as possible.
Yet, "select1" is not a valid type: as a workaround, it can be defined
as a synonym for "string"...
Then, there is still a namespace issue in the generated form: xmlns=""
has to be
Hello Habs,
Inline instances are first serialized by the XSLT engine then parsed in
the browser then, finally, serialized by the browser. There is a known
issue in Firefox: namespace axis has never been implemented in its XSLT
engine (Transformiix).
By default, XSLTForms 1.0 uses the native
Hello Habs,
No voluntary change in CSS support have been made for quiet a long time...
The XSL transformation should still be trying to parse STYLE and LINK
elements. It implies that external files have to be in well-formed XML
format as explained at
https://en.wikibooks.org/wiki/XRX/XSLTForm
10:32 AM, Alain Couthures
mailto:alain.couthu...@agencexml.com>> wrote:
Hi Mats,
I have not been able to reproduce this issue: I have tested
with Chrome 61, Chrome 62, Chrome Beta 62 and Chrome Canary 64
but no exception appeared...
Could you
Hi Mats,
I have not been able to reproduce this issue: I have tested with Chrome
61, Chrome 62, Chrome Beta 62 and Chrome Canary 64 but no exception
appeared...
Could you please send me the line number you saw so I could check its
validity?
Thanks!
--Alain
Le 23/10/2017 à 14:36, Mats Ekl
Forms. Perhaps
some custom actions could be defined to implement standard testing functions
such as assert, assert-equals, etc.?
Best regards,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
On Wed, Jul 19, 2017 at 9:21 AM, Alain Couthures
wrote:
The path for items
The path for itemset has to be written relative to the one of the select: in
your test case, just add "../../" at the beginning if you want to keep it
relative.
--Alain
-Message d'origine-
De : "C. M. Sperberg-McQueen"
Envoyé : 18/07/2017 20:51
À : "xsltforms-support@lists.sourceforg
s,
-Winona
On Tue, Apr 25, 2017 at 3:40 PM, Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hi Winona,
The Profiler is, itself, an XForms page. It uses an XPath
expression such as
"serialize(instance('view'),'application/xml',
help!
-Winona
On Sat, Apr 22, 2017 at 3:51 AM, Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hi Winona,
I suspect that this issue is just due to pop-ups not being allowed.
The error about w.document is just after this instruction: var w =
window.open(&
Hi Winona,
I suspect that this issue is just due to pop-ups not being allowed.
The error about w.document is just after this instruction: var w =
window.open("about:blank","_blank");
I should probably wrap this with a try-catch statement just to alert
users about allowing popup. What do you
Hello Tim,
I have tested with both Firefox 52.0 and Firefox 54.0a and I can easily
reproduce this crash creating just 5 or 6 items.
It might be due to memory management but, unfortunately, using the
browser debugger does not help at all to locate this issue.
I have discovered that it is pos
Thank you very much for all these explanations!
The proposed patch will be integrated in rev. 640.
I have been able to build my own test form (I first forgot to add the
custom button names in "toolbar" and I had to replace the 2 "<"
with "<" in the "insertElem" function).
--Alain
Le 2/7/20
The current version of TinyMCE is now 4.5.3 and I have succeeded in
integrating it in XSLTForms.
It appears that, with this version, the editor is not initialized enough
when XSLTForms first tries to set its content. I had to add a try/catch
statement to support this new behavior.
This will be
Customizing TinyMCE with XSLTForms is based on the definition of a data
type with corresponding parameters.
Please have a look at http://www.agencexml.com/xsltforms/tinymce.xml
http://www.w3.org/2001/XMLSchema";
targetNamespace="http://www.agencexml.com/xsltforms/rte";>
erway ?
Regards
Habs
On 31 October 2016 at 21:17, Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hello Habs,
Because "xsd:string" is the default type, did you try to define a
dummy schema with every complex type considered as atomic string
Tim,
Unfortunately, this SO example is using XPath 2.0 and it also appears
that XSLTForms currently does not support predicates after a var ref...
Could you please post a small test case so I could get this "too much
recursion" error?
Thanks!
--Alain
Le 10/11/2016 à 19:30, Tim Thompson a
Hello Habs,
Because "xsd:string" is the default type, did you try to define a dummy
schema with every complex type considered as atomic string so XSLTForms
cannot complain about missing type declarations?
Thank you for your feedback!
--Alain
Le 31/10/2016 à 10:01, b...@shroggslodge.freeserv
Please have a look at
https://stackoverflow.com/questions/36005795/wrap-text-in-element-using-xforms
Mixing such XSLTForms extensions for getting and setting the cursor
position and the possibly selection content should help you. You should
keep in mind that XForms engines can just edit leaves
support are the main reasons for me to write XSLTForms 2
without the necessity for XSLT!
--Alain
Le 02/07/2016 à 18:42, C. M. Sperberg-McQueen a écrit :
> On Jun 18, 2016, at 1:44 PM, Alain Couthures wrote:
>
>> Michael,
>>
>> Subforms are loaded with the load action so any
as a matter of interest, is that a standard in the xforms spec.
or is it an XSLTForms particular extension ?
Thank you for all your continuing hard work on XSLTForms. Long may it
(and you) continue :-)
Regards
Habs
On 29 June 2016 at 17:59, Alain Couthures
mailto:alain.couthu
let me know.
Regards
Habs
On 18 June 2016 at 21:06, Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hello Habs,
I am currently extending my new XPath engine (Fleur) into an
XQuery engine as well. Progressively, it will support XPath/XQuery
3.
As a possible workaround, you might try to insert the text, before the
submission being effectively sent, at the event "xforms-submit-serialize".
Thank you for your feedback!
--Alain
Le 20/06/2016 à 20:32, C. M. Sperberg-McQueen a écrit :
> I have a form that performs a query against a database
There is no such form in the W3C Test Suite binding a text node to a
control and I had to fix and build a new version of XSLTForms.
Please give a try at http://www.agencexml.com/direct/demos/textnodetest.xml
Thank you for your feedback!
--Alain
Le 28/06/2016 à 06:47, C. M. Sperberg-McQueen a é
Hello Habs,
I am currently extending my new XPath engine (Fleur) into an XQuery
engine as well. Progressively, it will support XPath/XQuery 3.1 but
there are still missing functionalities such as durations. Because of
functions such as doc(), this engine is written in asynchronous
Javascript
Michael,
Subforms are loaded with the load action so any event can trigger it. If
not, this would be an issue and I would be happy to have a test case if
this happens.
Ids are to be considered with subforms: if no static id is used in the
subform, generated ids include the generated subform id
Yes, a minimal test case is required.
Ids are automatically generated by XSLTForms when missing. Are you
generating your forms at server side ?
--Alain
Le 26/04/2016 à 19:49, Winona Salesky a écrit :
> I am using the new wrap function (a great addition!) and am trying to
> simplify my forms a
Michael,
I have improved the XPath parser accordingly and I suggest you to patch
1.0RC2 for an XSLT template named "getLocationPath", at its end:
Please replace:
Winona,
I think that the "xforms-submit-done" event is what you are looking for.
Please have a look at this example:
https://en.wikibooks.org/wiki/XForms/Web_Service_Tester
So, with one button, the submission is sent then, when it's done, the
selected text is set to the new value.
Thank yo
eet a
perceived shortcoming.
What are your views ?
Regards
Habs
On 10 April 2016 at 20:45, Alain Couthures
mailto:alain.couthu...@agencexml.com>>
wrote:
Hi Mats,
- Allowing XSLTForms to be run as Chrome Apps, with file
save/open functionality etc.
Could you please
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
transfo
Hi Mats,
From the XForms Recommendation point of view, it is already possible to
write an instance to disk using the "file:" protocol. As you know, for
security reasons, browser vendors have decided not to allow file
writing. XSLTForms includes a small Java applet which can write a file
but,
Hello Habs,
The omit-xml-declaration is supported in the XSLT stylesheet of
XSLTForms, effectively memorized in the corresponding Javascript
object... but ignored when performing the serialization...
It should not be difficult to improve this situation.
Are you in a hurry about that??
Thank
1 - 100 of 360 matches
Mail list logo