Re: [Xsltforms-support] XSLTForms and SVG-foreignObject
Brought to you by:
alain-couthures
From: MarkT <par...@gm...> - 2016-03-24 03:04:58
|
Hi Alain, list, Tim mentioned SVG is a recent post. So I feel less like an alien writing about it. I've been exploring many options in the postgresql-ruby-forms-svg chain of use. I have been testing xsltforms within a foreignObject element within a svg document. I can get it working. Within limits. There are differences between the browsers as to how scripts are loaded and run within a foreignObject. There are adjustments I make to the core xsltforms.js to run in a svg document. The effort is attractive as the xforms model fits well with the ActiveRecord model. I don't use Rails, just AR. Then to produce an xform within an svg document can give very high quality presentation. You can imagine there are many points of hacking to make this hang together with xsltforms. Then it is for a limited version. Could there be some adjustments to the version 2 of xsltforms to assist in this path. Thanks many times for your persistence with this work Alain. There is chocolate waiting for you here in Sydney. All the best, MarkT |