xsltforms-support Mailing List for XSLTForms (Page 48)
Brought to you by:
alain-couthures
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(9) |
Jul
(16) |
Aug
(5) |
Sep
(43) |
Oct
(36) |
Nov
(58) |
Dec
(43) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(79) |
Feb
(81) |
Mar
(107) |
Apr
(93) |
May
(85) |
Jun
(54) |
Jul
(64) |
Aug
(54) |
Sep
(45) |
Oct
(53) |
Nov
(34) |
Dec
(77) |
2011 |
Jan
(56) |
Feb
(53) |
Mar
(52) |
Apr
(66) |
May
(44) |
Jun
(16) |
Jul
(28) |
Aug
(5) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(46) |
2012 |
Jan
(16) |
Feb
(38) |
Mar
(47) |
Apr
(45) |
May
(41) |
Jun
(41) |
Jul
(72) |
Aug
(17) |
Sep
(10) |
Oct
(16) |
Nov
(29) |
Dec
(30) |
2013 |
Jan
(25) |
Feb
(13) |
Mar
(20) |
Apr
(25) |
May
(34) |
Jun
(8) |
Jul
(12) |
Aug
(9) |
Sep
(21) |
Oct
(19) |
Nov
(6) |
Dec
(2) |
2014 |
Jan
(14) |
Feb
(8) |
Mar
(7) |
Apr
(13) |
May
(33) |
Jun
(13) |
Jul
(6) |
Aug
(5) |
Sep
(5) |
Oct
(34) |
Nov
(7) |
Dec
|
2015 |
Jan
(1) |
Feb
(6) |
Mar
(17) |
Apr
(12) |
May
(10) |
Jun
(18) |
Jul
(31) |
Aug
(9) |
Sep
(3) |
Oct
(6) |
Nov
(19) |
Dec
(1) |
2016 |
Jan
(18) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
|
Jun
(17) |
Jul
(7) |
Aug
|
Sep
(3) |
Oct
(6) |
Nov
(3) |
Dec
|
2017 |
Jan
(5) |
Feb
(17) |
Mar
(4) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(5) |
Nov
(6) |
Dec
(4) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
(13) |
Feb
(17) |
Mar
(8) |
Apr
(11) |
May
(15) |
Jun
(11) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2021 |
Jan
(9) |
Feb
(26) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(18) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(10) |
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
(10) |
Dec
(1) |
2023 |
Jan
(10) |
Feb
|
Mar
(7) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(11) |
Nov
(8) |
Dec
(5) |
2024 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alain C. <ala...@ag...> - 2012-04-03 19:14:55
|
Hello, While implementing upload control in XSLTForms (http://www.agencexml.com/xsltforms/uploads.xml), I was wondering in what real use cases it can be used. With xsi:anyURI type, the server only gets a filename (usually prefixed by "fakedpath") for security reasons. So, only the short name (not the full path) is meaningful. With xsi:hexBinary and xsi:base64Binary, the full content of the chosen file is copied and expanded (2 times or 1.67 times respectively) within an instance. Uploading big files will require time (and memory) and a progress bar with a cancel option would be useful and, then, submission will also take time... So, what are the effective or expected use cases for the upload control? Thank you for your answers! -Alain |
From: Alain C. <ala...@ag...> - 2012-04-03 17:22:33
|
Hello Steve, A wrong copy/taste in source code and "javascript:" was not anymore well supported. Please tell me if it's correct now with rev.537 (I don't have a test case ready for that so I just changed an instruction!) Thanks! -Alain Le 02/04/2012 19:49, st...@sa... a écrit : > Looking at this some more, I think maybe the new upload control is > interacting in an undesirable way with submissions like: > > <xforms:submission > id="htmlTitle" > method="get" > serialization="none" > replace="none" > resource="javascript:setTitle()"/> > > In the form in question, this is called on xforms-ready: > > <xforms:action ev:event="xforms-ready"> > <xforms:send submission="htmlTitle"/> > > I think that what happens is that the permit-applet dialogue > appears the first time the xsltforms.js is loaded after browser > cache is cleared, then the javascript resource submission pops > up the file-picker dialogue (erroneously, since there is no > upload going on there). > > After the first time, the file-picker pops up whenever a js > resource submission is done--if you click on a text item in the > right pane, then on the 'Hide Outline'/'Show Outline' control > in my xform, you also get the file-picker dialogue. > > Steve > > Quoting st...@sa...: > >>> On 03/30/12, Alain Couthures <ala...@ag...> wrote: >>> >>> Is it a problem for you if a Java applet is mandatory?? >> >> I suspect this question of yours may be connected to the fact that >> with RC1 every new form load either asks me if it is OK to give access >> to the applet or goes straight to a file-browse dialogue (this is with >> FF 9.0.1/Mac OS X). In case this behaviour I am seeing is not a >> well-known bug, you can see it at: >> >> http://oracc.museum.upenn.edu/dcclt/launch/p3 >> > > > |
From: Alain C. <ala...@ag...> - 2012-04-03 17:19:55
|
Hello Raja, I have implemented upload control support in rev.537. It is based on FileReader API, which is supported by all recent browsers except IE, and a Java applet for others. Thank you for your feedbacks! -Alain Le 02/04/2012 07:44, Raja a écrit : > Hi Mr Alain !!!! > > That base64Binary is primary one for us and yes the applet based > method will create some additional time delay to render the form and > it's not an unique method to support the same .. Some native support > in the XSLTForms engine is much appreciated instead of the applet > method . Thanks for your kind reply . > > By > Rajamani M > Gov of India > |
From: Nick V. d. B. <Nic...@in...> - 2012-04-03 09:38:42
|
Alain, Nice work! SVG is a really good option if you need vector graphics, and being able to make the graphics dynamic based on user data is really neat, and give another dimension to your documents. We use XSL+FO+SVG to generate dynamic diagrams/charts/drawings, so I'm completly convinced that XForms+SVG is also very powerful and useful. I have a couple small remarks though: 1. Repeat on numbers: In XForms 2.0 we adopt XPath 2.0 and there you can create sequences of numbers using the to operator[1], which allows you to write <xf:repeat ref="1 to 5"> (the current context inside the repeat will hold the atomic value of the current iteration) 2. The var element: If you go to [2] you can read that 'variables can occur either as a child of an action element or somewhere in the document except the model.' with other words variables can occur every where in the document if they are a descendant of an action element or if the are *not* a descendant of the model. There is an editorial note in the spec 'Currently we don't support variables inside the model outside actions, we are waiting for more implementation experience before allowing this.' so if you want to experiment with this please feel free to do it and share your experience. There are currently two possibilities for scoping variables inside the model (available throughout the whole document if the current evaluation context is associated with that model, or only for all following siblings and their descendants) Kind regards, Nick Van den Bleeken R&D Manager Phone: +32 3 425 41 02 Office fax: +32 3 821 01 71 nic...@in... www.inventivedesigners.com 1: http://www.w3.org/TR/xpath-functions/#func-to 2: http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_var_element On 02 Apr 2012, at 23:31, Alain Couthures wrote: > Hello, > > I have recently embedded XForms controls within SVG images to > dynamically render data. > > For chart axes, I needed a repeat group based on numbers not on nodes so > I added an extension to XSLTForms: repeat/@from, repeat/@to and > repeat/@step. The loop index can be obtained with the "." XPath > expression so the context is not in any model and the instance() > function has always to be used when referring to nodes. > > For pie charts, I needed trigonometric functions, which are only > available in XPath 3.0, but are already supported by XSLTForms. > > For performance, I used an intermediate instance with calculated > bindings. I might have implemented the new 'var' element but initially > get confused with the 2.0 specs whether vars were limited to function > bodies or not. > > AVT support is, of course, very important for SVG but I also used output > controls within text elements. I am not sure that labels in XForms group > controls can easily be rendered in SVG. > > Here are some online examples: > http://www.agencexml.com/xsltforms/flags.xml, > http://www.agencexml.com/xsltforms/piechart.xml, > http://www.agencexml.com/xsltforms/gauges.xml and > http://www.agencexml.com/xsltforms/gantt.xml. > > I would be happy to have your opinions about SVG and XForms. > > Thanks! > > -Alain > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > ________________________________ Inventive Designers' Email Disclaimer: http://www.inventivedesigners.com/email-disclaimer |
From: Alain C. <ala...@ag...> - 2012-04-02 21:31:40
|
Hello, I have recently embedded XForms controls within SVG images to dynamically render data. For chart axes, I needed a repeat group based on numbers not on nodes so I added an extension to XSLTForms: repeat/@from, repeat/@to and repeat/@step. The loop index can be obtained with the "." XPath expression so the context is not in any model and the instance() function has always to be used when referring to nodes. For pie charts, I needed trigonometric functions, which are only available in XPath 3.0, but are already supported by XSLTForms. For performance, I used an intermediate instance with calculated bindings. I might have implemented the new 'var' element but initially get confused with the 2.0 specs whether vars were limited to function bodies or not. AVT support is, of course, very important for SVG but I also used output controls within text elements. I am not sure that labels in XForms group controls can easily be rendered in SVG. Here are some online examples: http://www.agencexml.com/xsltforms/flags.xml, http://www.agencexml.com/xsltforms/piechart.xml, http://www.agencexml.com/xsltforms/gauges.xml and http://www.agencexml.com/xsltforms/gantt.xml. I would be happy to have your opinions about SVG and XForms. Thanks! -Alain |
From: <st...@sa...> - 2012-04-02 17:49:17
|
Looking at this some more, I think maybe the new upload control is interacting in an undesirable way with submissions like: <xforms:submission id="htmlTitle" method="get" serialization="none" replace="none" resource="javascript:setTitle()"/> In the form in question, this is called on xforms-ready: <xforms:action ev:event="xforms-ready"> <xforms:send submission="htmlTitle"/> I think that what happens is that the permit-applet dialogue appears the first time the xsltforms.js is loaded after browser cache is cleared, then the javascript resource submission pops up the file-picker dialogue (erroneously, since there is no upload going on there). After the first time, the file-picker pops up whenever a js resource submission is done--if you click on a text item in the right pane, then on the 'Hide Outline'/'Show Outline' control in my xform, you also get the file-picker dialogue. Steve Quoting st...@sa...: >> On 03/30/12, Alain Couthures <ala...@ag...> wrote: >> >> Is it a problem for you if a Java applet is mandatory?? > > I suspect this question of yours may be connected to the fact that > with RC1 every new form load either asks me if it is OK to give access > to the applet or goes straight to a file-browse dialogue (this is with > FF 9.0.1/Mac OS X). In case this behaviour I am seeing is not a > well-known bug, you can see it at: > > http://oracc.museum.upenn.edu/dcclt/launch/p3 > |
From: <st...@sa...> - 2012-04-02 15:47:08
|
> On 03/30/12, Alain Couthures <ala...@ag...> wrote: > > Is it a problem for you if a Java applet is mandatory?? I suspect this question of yours may be connected to the fact that with RC1 every new form load either asks me if it is OK to give access to the applet or goes straight to a file-browse dialogue (this is with FF 9.0.1/Mac OS X). In case this behaviour I am seeing is not a well-known bug, you can see it at: http://oracc.museum.upenn.edu/dcclt/launch/p3 I would like it to be possible to load forms without having this behaviour. I'd be fine with having the behaviour controlled by setting some kind of option somewhere. Upload is a very useful facility when needed but many (most?) forms won't need it. Steve |
From: Raja <m.r...@ni...> - 2012-04-02 05:44:59
|
Hi Mr Alain !!!! That base64Binary is primary one for us and yes the applet based method will create some additional time delay to render the form and it's not an unique method to support the same .. Some native support in the XSLTForms engine is much appreciated instead of the applet method . Thanks for your kind reply . By Rajamani M Gov of India On 03/30/12, Alain Couthures <ala...@ag...> wrote: > > > > > Hello Raja, > > In terms of priority, which ones of data bindings (base64Binary, hexBinary or anyURI) would you need? > > Is it a problem for you if a Java applet is mandatory?? > > Thanks! > > -Alain > > Le 30/03/2012 14:27, Raja a écrit : > > > Hi Mr Alain !!! > > Thanks for your quick reply .. Really we expecting a good news regarding the UPLOAD control support in XSLTForms-1.0 version . > > > > by > > Rajamani</x> M > > NIC > > Gov of India > > > > > > > > > -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |
From: Alain C. <ala...@ag...> - 2012-03-30 12:53:17
|
Hello Raja, In terms of priority, which ones of data bindings (base64Binary, hexBinary or anyURI) would you need? Is it a problem for you if a Java applet is mandatory?? Thanks! -Alain Le 30/03/2012 14:27, Raja a écrit : > Hi Mr Alain !!! > Thanks for your quick reply .. Really we expecting a good news > regarding the UPLOAD control support in XSLTForms-1.0 version . > > by > Rajamani</x> M > NIC > Gov of India > |
From: Raja <m.r...@ni...> - 2012-03-30 12:28:01
|
Hi Mr Alain !!! Thanks for your quick reply .. Really we expecting a good news regarding the UPLOAD control support in XSLTForms-1.0 version . by Rajamani</x> M NIC Gov of India On 03/30/12, Alain Couthures <ala...@ag...> wrote: > > > > > Hello, > > I am currently trying to add upload control support to XSLTForms 1.0RC. > > This will be based on FileRead API if possible and on Java applet, if not. > > -Alain > > Le 30/03/2012 13:32, Raja a écrit : > > > Hi Stephen Cameron !!! > > > > Yes we know that workaround with eXist-db in XRX style . But we need offline support with local save option without the exist-db and the XRX style workaround . > > > > By > > Rajamani</x> M > > NIC > > Gov of India > > > > On 03/30/12, Stephen Cameron <ste...@gm...> <ste...@gm...> wrote: > > > http://en.wikibooks</x>.org/wiki/XRX/XSLTForms_and_eXist#Upload_file_with_XSLTForms > > > > > > On Thu, Mar 29, 2012 at 8:55 PM, Raja <m.r...@ni...> wrote: > > > > > > > Hi XSLTForms members , > > > > > > > > Still XSLTForms not support the upload control. Did any one know about the latest information regarding the upload control support in the future version of XSLTForms . > > > > > > > > By > > > > > > > > -- > > > > Rajamani</x> Marimuthu > > > > Junior Research Fellow-JRF > > > > NIC -Open Technology Centre > > > > Rajaji Bhavan > > > > Besant Nagar, > > > > Chennai - 90 > > > > Cell : 9677192096 > > > > > > > > ------------------------------------------------------------------------------ > > > > This SF email is sponsosred by: > > > > Try Windows Azure free for 90 days Click Here > > > > http://p.sf.net/sfu/sfd2d-msazure > > > > _______________________________________________ > > > > Xsltforms-support mailing list > > > > Xsl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > > > > > > > > > > > > > > > > > > > -- > > Rajamani</x> Marimuthu > > Junior Research Fellow-JRF > > NIC -Open Technology Centre > > Rajaji Bhavan > > Besant Nagar, > > Chennai - 90 > > Cell : 9677192096 > > > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure > > > > > > > > _______________________________________________ > > Xsltforms-support mailing list > > Xsl...@li... > > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > > > > -- Rajamani</x> Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |
From: Alain C. <ala...@ag...> - 2012-03-30 11:46:31
|
Hello, I am currently trying to add upload control support to XSLTForms 1.0RC. This will be based on FileRead API if possible and on Java applet, if not. -Alain Le 30/03/2012 13:32, Raja a écrit : > Hi Stephen Cameron !!! > > Yes we know that workaround with eXist-db in XRX style . But we need > offline support with local save option without the exist-db and the > XRX style workaround . > > By > Rajamani</x> M > NIC > Gov of India > > On 03/30/12, *Stephen Cameron * <ste...@gm...> wrote: >> http://en.wikibooks</x>.org/wiki/XRX/XSLTForms_and_eXist#Upload_file_with_XSLTForms >> <http://en.wikibooks.org/wiki/XRX/XSLTForms_and_eXist#Upload_file_with_XSLTForms> >> >> On Thu, Mar 29, 2012 at 8:55 PM, Raja <m.r...@ni... >> <mailto:m.r...@ni...>> wrote: >> >> Hi XSLTForms members , >> >> Still XSLTForms not support the upload control. Did any one know >> about the latest information regarding the upload control support >> in the future version of XSLTForms . >> >> By >> >> -- >> Rajamani</x> Marimuthu >> Junior Research Fellow-JRF >> NIC -Open Technology Centre >> Rajaji Bhavan >> Besant Nagar, >> Chennai - 90 >> Cell : 9677192096 >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> <mailto:Xsl...@li...> >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> > -- > Rajamani</x> Marimuthu > Junior Research Fellow-JRF > NIC -Open Technology Centre > Rajaji Bhavan > Besant Nagar, > Chennai - 90 > Cell : 9677192096 > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Raja <m.r...@ni...> - 2012-03-30 11:40:28
|
Hi Stephen Cameron !!! Yes we know that workaround with eXist-db in XRX style . But we need offline support with local save option without the exist-db and the XRX style workaround . By Rajamani</x> M NIC Gov of India On 03/30/12, Stephen Cameron <ste...@gm...> wrote: > http://en.wikibooks</x>.org/wiki/XRX/XSLTForms_and_eXist#Upload_file_with_XSLTForms > > On Thu, Mar 29, 2012 at 8:55 PM, Raja <m.r...@ni...> wrote: > > > > Hi XSLTForms members , > > > > Still XSLTForms not support the upload control. Did any one know about the latest information regarding the upload control support in the future version of XSLTForms . > > > > > > By > > > > -- > > Rajamani</x> Marimuthu > > Junior Research Fellow-JRF > > NIC -Open Technology Centre > > Rajaji Bhavan > > Besant Nagar, > > Chennai - 90 > > Cell : 9677192096 > > > > ------------------------------------------------------------------------------ > > > > This SF email is sponsosred by: > > > > Try Windows Azure free for 90 days Click Here > > > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > > > Xsltforms-support mailing list > > > > Xsl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > > > > > > > -- Rajamani</x> Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |
From: Stephen C. <ste...@gm...> - 2012-03-29 22:45:00
|
http://en.wikibooks.org/wiki/XRX/XSLTForms_and_eXist#Upload_file_with_XSLTForms On Thu, Mar 29, 2012 at 8:55 PM, Raja <m.r...@ni...> wrote: > Hi XSLTForms members , > > Still XSLTForms not support the upload control. Did any one know about the > latest information regarding the upload control support in the future > version of XSLTForms . > > By > > -- > Rajamani Marimuthu > Junior Research Fellow-JRF > NIC -Open Technology Centre > Rajaji Bhavan > Besant Nagar, > Chennai - 90 > Cell : 9677192096 > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > |
From: Raja <m.r...@ni...> - 2012-03-29 09:56:38
|
Hi XSLTForms members , Still XSLTForms not support the upload control. Did any one know about the latest information regarding the upload control support in the future version of XSLTForms . By -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |
From: Benoit V. <bvi...@la...> - 2012-03-29 09:02:22
|
You are right, it didn't works with XSLTForms r531. I tried this morning with the release r535 and all run fine. Thank you Benoit PS: This is a good habit to fix bugs before we find them ;) Le 28/03/2012 21:34, Alain Couthures a écrit : > Hi Benoit, > > I have tested successfully your example with XSLTForms 1.0RC but I > remember that I fixed an issue concerning multiple AVT for an element > just before. > > Can you please test again? > > Thanks! > > -Alain > > Le 26/03/2012 21:53, Benoit VINCENT a écrit : >> Hi Alain, >> >> I encounter au problem with AVT when I try to use them in two differents >> attributes in the same element. In this example, I want to build a small >> menu : >> >> <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> >> <html xmlns="http://www.w3.org/1999/xhtml" >> xmlns:xf="http://www.w3.org/2002/xforms" >> xmlns:ev="http://www.w3.org/2001/xml-events"> >> <head> >> <title>Test double AVT</title> >> <xf:model> >> <xf:instance id="ins_menu"> >> <data xmlns=""> >> <menu><name>menu 1</name><url>page1.html</url><title>Navigate to >> page 1</title></menu> >> <menu><name>menu 2</name><url>page2.html</url><title>Navigate to >> page 2</title></menu> >> <menu><name>menu 3</name><url>page3.html</url><title>Navigate to >> page 3</title></menu> >> </data> >> </xf:instance> >> </xf:model> >> </head> >> <body> >> <ul> >> <xf:repeat nodeset="menu"> >> <li><a href="{url}" title="{title}"><xf:output >> ref="name"></xf:output></a></li> >> </xf:repeat> >> </ul> >> </body> >> </html> >> >> This form don't works (error message : xf.clone is not a function) but >> if I >> remove the attribute title="{title}" in the<a> element it works fine. Is >> this normal? >> >> Regards >> Benoit >> >> >> ------------------------------------------------------------------------------ >> >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> > |
From: Alain C. <ala...@ag...> - 2012-03-28 20:09:57
|
Hello Dominic, XSLTForms already supports xf:itemset but with xf:value and not yet with xf:copy. Have a look at http://www.agencexml.com/xsltforms/select-from-file.xml Do you have a use case for xf:copy instead of xf:value?? Thank you for your feedbacks! -Alain Le 28/03/2012 16:36, Dominic Martin a écrit : > Whenever I use an <xf:select1/> with an <xf:itemset/> child I get an > 'xsltforms exception: error initializing: xforms-binding-exception' > alert message. This also happens when I run the > itemset element test page at > http://www.agencexml.com/xforms-tests/testsuite/XForms1.1/Edition1/Chapt09/9.3/9.3.6/9.3.6.a.xhtml. > > > Any pointers much appreciated. > > Dominic Martin > > P.S. > Further to the above the profiler information on running the itemset > element test page at > http://www.agencexml.com/xforms-tests/testsuite/XForms1.1/Edition1/Chapt09/9.3/9.3.6/9.3.6.a.xhtml > is: > > Environment: > > Browser: Netscape Mozilla 5.0 (Windows) > User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 > Firefox/11.0 > Initial XSLT Engine: Transformiix > http://www.mozilla.org/projects/xslt/ > Current XSLT Engine: Transformiix > http://www.mozilla.org/projects/xslt/ > XSLTForms Version: 1.0RC > |
From: Alain C. <ala...@ag...> - 2012-03-28 19:34:13
|
Hi Benoit, I have tested successfully your example with XSLTForms 1.0RC but I remember that I fixed an issue concerning multiple AVT for an element just before. Can you please test again? Thanks! -Alain Le 26/03/2012 21:53, Benoit VINCENT a écrit : > Hi Alain, > > I encounter au problem with AVT when I try to use them in two differents > attributes in the same element. In this example, I want to build a small > menu : > > <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events"> > <head> > <title>Test double AVT</title> > <xf:model> > <xf:instance id="ins_menu"> > <data xmlns=""> > <menu><name>menu 1</name><url>page1.html</url><title>Navigate to > page 1</title></menu> > <menu><name>menu 2</name><url>page2.html</url><title>Navigate to > page 2</title></menu> > <menu><name>menu 3</name><url>page3.html</url><title>Navigate to > page 3</title></menu> > </data> > </xf:instance> > </xf:model> > </head> > <body> > <ul> > <xf:repeat nodeset="menu"> > <li><a href="{url}" title="{title}"><xf:output > ref="name"></xf:output></a></li> > </xf:repeat> > </ul> > </body> > </html> > > This form don't works (error message : xf.clone is not a function) but if I > remove the attribute title="{title}" in the<a> element it works fine. Is > this normal? > > Regards > Benoit > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Dominic M. <do...@ec...> - 2012-03-28 13:55:21
|
Whenever I use an <xf:select1/> with an <xf:itemset/> child I get an 'xsltforms exception: error initializing: xforms-binding-exception' alert message. This also happens when I run the itemset element test page at http://www.agencexml.com/xforms-tests/testsuite/XForms1.1/Edition1/Chapt09/9.3/9.3.6/9.3.6.a.xhtml. Any pointers much appreciated. Dominic Martin |
From: Raja <m.r...@ni...> - 2012-03-28 07:28:35
|
Hi Mr Alain !!! First i need to congrats for the great work done for the XForms community through your XSLTForms implementation. Now u achieved another milestone through the stable release. We continuously using XSLTForms for gov of India projects, everything is good except the UPLOAD control not support in the client side implementation . Here in India gov projects that upload control is very important for the client side implementation . Is there any workaround for client side XSLTForms application .. pls we expect your suggestion regarding this issue . Thanks and regards -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |
From: Dan M. <dan...@gm...> - 2012-03-27 17:09:04
|
Hi Everyone, First of all, a congrats to Alain for getting the 1.0 release candidate for XSLTForms 1.0 out! This is a big milestone and I want to let everyone know how cool this is. I do have one very minor issue to point out to people that are using native XML databases like eXist and loading XSLTForms directly into a database collection. The 1.0 version of XSLTForms includes a version of the Tiny MCE editor (very cool actually) for doing rich-text editing. Unfortunately in these files some of the "themes" have un-escaped ampersands like this: in xsltforms/scripts/tinymce_3.4.6/themes/advanced/color_picker.htm on line 25: onmousemove="if (isMouseDown && isMouseOver) When XSLTForms files with this syntax are loaded into eXist using an Ant "store" script the unescaped ampersands will cause the load to fail. The solution is to escape the files like this: onmousemove="if (isMouseDown && isMouseOver) Note that this is really in the MCE code, not Alain's code. But this is something to consider. Since I assume that the MCE code base may change in the future we (in the eXist community at least) may want to share a general Ant pre-processor script that does a global replace before the files are automatically loaded into a database. Just a consideration. Anyway a big "congrats" to Alain and others that are working on this. - Dan |
From: Benoit V. <bvi...@la...> - 2012-03-26 20:25:25
|
Hi Alain, I encounter au problem with AVT when I try to use them in two differents attributes in the same element. In this example, I want to build a small menu : <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <head> <title>Test double AVT</title> <xf:model> <xf:instance id="ins_menu"> <data xmlns=""> <menu><name>menu 1</name><url>page1.html</url><title>Navigate to page 1</title></menu> <menu><name>menu 2</name><url>page2.html</url><title>Navigate to page 2</title></menu> <menu><name>menu 3</name><url>page3.html</url><title>Navigate to page 3</title></menu> </data> </xf:instance> </xf:model> </head> <body> <ul> <xf:repeat nodeset="menu"> <li><a href="{url}" title="{title}"><xf:output ref="name"></xf:output></a></li> </xf:repeat> </ul> </body> </html> This form don't works (error message : xf.clone is not a function) but if I remove the attribute title="{title}" in the <a> element it works fine. Is this normal? Regards Benoit |
From: Benoit V. <bvi...@la...> - 2012-03-26 19:54:02
|
Hi Alain, I encounter au problem with AVT when I try to use them in two differents attributes in the same element. In this example, I want to build a small menu : <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <head> <title>Test double AVT</title> <xf:model> <xf:instance id="ins_menu"> <data xmlns=""> <menu><name>menu 1</name><url>page1.html</url><title>Navigate to page 1</title></menu> <menu><name>menu 2</name><url>page2.html</url><title>Navigate to page 2</title></menu> <menu><name>menu 3</name><url>page3.html</url><title>Navigate to page 3</title></menu> </data> </xf:instance> </xf:model> </head> <body> <ul> <xf:repeat nodeset="menu"> <li><a href="{url}" title="{title}"><xf:output ref="name"></xf:output></a></li> </xf:repeat> </ul> </body> </html> This form don't works (error message : xf.clone is not a function) but if I remove the attribute title="{title}" in the<a> element it works fine. Is this normal? Regards Benoit |
From: <bvi...@la...> - 2012-03-26 16:07:49
|
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net |
From: Alain C. <ala...@ag...> - 2012-03-23 18:19:18
|
As recently announced, an XForms Users Community group has been started at W3C: http://www.w3.org/community/xformsusers/ Such a group gives us a number of resources: 1. A wiki [http://www.w3.org/community/xformsusers/wiki/Main_Page] 2. An irc channel [irc://irc.w3.org:6665/#xformsusers] If you don't have an IRC user agent, you can always use http://irc.w3.org/ 3. Mailing lists [pub...@w3... http://lists.w3.org/Archives/Public/public-xformsusers/] and [pub...@w3... http://lists.w3.org/Archives/Public/public-xformsusers-contrib/] All members of the www-forms mailing list are encouraged to join. Note that you don't have to be a member of W3C to join, but you do have to agree to an IPR statement. The initial aims of the community group are: 1. To encourage users of XForms to bring their discussions there, for discussion of techniques, usage, and suggestions to improvements and additions to the language. 2. Allow people to contribute to the XForms test suite [http://www.w3.org/MarkUp/Forms/Test/] 3. Allow people to maintain the list of implementations. 4. Allow the XForms Working Group to give updates on XForms 2. 5. Move the XForms+HTML Note/Rec document over to xformsusers to incubate it. This last is a note documenting how you combine XForms with (X)HTML; it will be converted to wiki markup and put on the Community Group's wiki, allowing group members to contribute to it. This is of course only an initial list of aims, brainstormed by the Working Group. It is up to the Users Group to further develop this list. Currently the group has no chair. The group should decide on a chair once it has reached sufficient size. Best wishes, Steven Pemberton Co-Chair XForms WG |
From: Alain C. <ala...@ag...> - 2012-03-19 20:40:43
|
Hi Benoit, Sorry, AVT for HTML attributes of XForms elements is not yet supported. -Alain Le 19/03/2012 21:36, Benoit VINCENT a écrit : > Hi Alain, > > I’m trying the very interesting AVT feature, but I have a small problem > with host language attributes like @class when they are included in > xforms elements. > > Example : > > <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:sample="http://www.agencexml.com/sample"> > > <head> > > <style typr="text/css"> > > .red_class { color: red; } > > </style> > > <title>Test AVT in @class</title> > > <xf:model> > > <xf:instance id="colors"> > > <data xmlns=""> > > <c>red</c> > > </data> > > </xf:instance> > > </xf:model> > > </head> > > <body> > > <xf:output ref="c" class="{c}_class"></xf:output> > > <p class="{c}_class">RED</p> > > </body> > > </html> > > The first @class (in<xf :output>) is never instanciated but the second > (in<p>) works fine. Is that a normal behaviour for AVT ? > > Regards > > Benoit > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |