W3C home > Mailing lists > Public > www-forms@w3.org > May 2010

RE: New XPath extension function called xslt()

From: Claudius Teodorescu <claud108@yahoo.com>
Date: Wed, 5 May 2010 02:37:12 -0700 (PDT)
Message-ID: <490122.19653.qm@web112004.mail.gq1.yahoo.com>
To: xforms ML <www-forms@w3.org>
Hi, all,

First of all, thank you for paying attention to this proposal and for sharing your opinions about it. All these opinions are very instructive and reveal different facets of the discussed topic both from conceptual point of view and from practical usage in real-world web applications.

I would like to share my comments, too.

So, I maintain my initial opinion about an xslt action for the following reasons: 

1. When using xslt as a function, the syntax is by far more simple. But, conceptually speaking, an XSL transformation has nothing to do with XPath functions. I consider that, within XForms  scope, it is an action, just like the other XForms actions (setvalue, insert, delete, etc.).

2. Considering xslt as an action, one can avoid all the "problems" caused by "dependencies" (as were mentioned above).

3. Such xslt action can be easily be used, wrapped in an action element, to process data when "xforms-submit" event is triggered, just like other actions we are doing right now before submissions in our webapps. It can also be used, wrapped in an action element, to process data when "xforms-value-changed" event is triggered, in order to update an UI subform. It can receive @if, @while. Or it can be wrapped by an action element acting as handler called by a listener, according to XML Events.


Claudius Teodorescu
http://kuberam.ro



      
Received on Wednesday, 5 May 2010 09:37:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:20 GMT