Dear Alain, Do you see why <http://www.agencexml.com/xsltforms/flags.xml> gives an error with WebKit browsers?
Best, Jens Begin forwarded message: > From: Alain Couthures <[email protected]> > Subject: [Xsltforms-support] SVG and XForms > Date: April 2, 2012 11:31:03 PM GMT+02:00 > To: [email protected], XSLTForms support > <[email protected]> > > 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 > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Xsltforms-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xsltforms-support ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
