Thread: [Xsltforms-support] add attribute to instance element by selecting attribute name from list
Brought to you by:
alain-couthures
From: Christian M. <ch...@gm...> - 2010-02-24 16:06:35
|
Dear XSLTforms Mailing List, Hi I am new to the xforms, but very fascinated. I have an exist db application that renders a form from a XML Schema. I have inputs and bindings for all possible inputs. meaning I can display the content of the instance completely in the form. I would like to have a way to insert new attributes from a list to the instance. I need a select widget that allows me to select a attribute to add, and allows for adding it to the instance. The input for that attribute should then appear in the list. Maybe you can throw some hints and starting points to me. Thank you very much |
From: Klotz, L. <Lei...@xe...> - 2010-02-24 19:44:41
|
We documented how to do it in the XForms 1.1 as it's possible but not obvious. In the XForms 1.1 I don't know if XSLTForms implements the feature, but here's the magic: http://www.w3.org/TR/xforms11/#data-mutation-patterns-set-attribute Leigh. ________________________________ From: Christian Meisenbichler [mailto:ch...@gm...] Sent: Wednesday, February 24, 2010 8:06 AM To: xsl...@li... Subject: [Xsltforms-support] add attribute to instance element by selectingattribute name from list Dear XSLTforms Mailing List, Hi I am new to the xforms, but very fascinated. I have an exist db application that renders a form from a XML Schema. I have inputs and bindings for all possible inputs. meaning I can display the content of the instance completely in the form. I would like to have a way to insert new attributes from a list to the instance. I need a select widget that allows me to select a attribute to add, and allows for adding it to the instance. The input for that attribute should then appear in the list. Maybe you can throw some hints and starting points to me. Thank you very much |
From: Christian M. <chr...@mu...> - 2010-02-25 09:04:50
|
Thanks, meanwhile I know that in principle this ( http://www.w3.org/TR/xforms11/#data-mutation-patterns-set-attribute) would work but xsltforms kindly allerts me via message: "TODO clone Attribute" So It is known but not Implemented. Is there a possibility that there is a version of xsltforms that implements this? I don't really know where to look for something like a version number so I can't really say what version I'm using. |
From: Grégoire C. <gco...@gm...> - 2010-02-26 08:18:59
|
Hi Christian, I don't know what needs to be done to implement this, but maybe Alain Couthures could tell, so I'm forwarding this to the list. Grégoire Christian Meisenbichler a écrit : > Bhu, My project pretty much depends on this functionality. What must I > learn/read to fix that? > > 2010/2/25 Grégoire Colbert <gco...@gm... > <mailto:gco...@gm...>> > > Hi, > > For your information, I use latest SVN version (355) and I see the > string "TODO clone Attribute" when searching in "xsltforms.js". :-( > > Grégoire > |
From: COUTHURES A. <ala...@ag...> - 2010-02-26 09:08:22
|
Christian, Attribute insert is now implemented (Test #b.4.a is now PASS) and you can download the latest SVN version for that. Do you also require "attribute remove" and so on ? Best regards, -Alain > Thanks, > meanwhile I know that in principle this > (http://www.w3.org/TR/xforms11/#data-mutation-patterns-set-attribute) > would work but xsltforms kindly allerts me via message: > > "TODO clone Attribute" > > So It is known but not Implemented. > > Is there a possibility that there is a version of xsltforms that > implements this? I don't really know where to look for something like > a version number so I can't really say what version I'm using. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Christian M. <chr...@mu...> - 2010-02-26 10:40:32
|
I' am impressed! Thank you Alain! Merci beaucoup! Works like a charm!-- well attribute remove would have been the logical next step. :-) but I will be occupied a while with testing Attribute insert. On Fri, Feb 26, 2010 at 10:09 AM, COUTHURES Alain < ala...@ag...> wrote: > Christian, > > Attribute insert is now implemented (Test #b.4.a is now PASS) and you can > download the latest SVN version for that. > > Do you also require "attribute remove" and so on ? > > Best regards, > > -Alain > > Thanks, > meanwhile I know that in principle this ( > http://www.w3.org/TR/xforms11/#data-mutation-patterns-set-attribute) would > work but xsltforms kindly allerts me via message: > > "TODO clone Attribute" > > So It is known but not Implemented. > > Is there a possibility that there is a version of xsltforms that implements > this? I don't really know where to look for something like a version number > so I can't really say what version I'm using. > > ------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta.http://p.sf.net/sfu/intel-sw-dev > > ------------------------------ > > _______________________________________________ > Xsltforms-support mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > |