Re: [Xsltforms-support] XSLTForms on smartphone
Brought to you by:
alain-couthures
From: Bala K. <ba...@ec...> - 2011-11-26 13:17:06
|
If it helps - I get the same error message with the PHP server transform on the samples in the regular beta3 package (eg, input.xml) *--* Best Regards,* * * Bala Krishnamurthy* On Sat, Nov 26, 2011 at 6:26 PM, Bala Krishnamurthy <ba...@ec...> wrote: > Santosh - > > Just a long shot, wondering if you can help - I see that you have been > doing the XSL transform server side. We use PHP. > > With BetaRC3 - I am trying the XSLT Transform in PHP. The Transform seems > to occur ok but then there is an error when I echo to the browser as below: > > XSLTForms Exception > -------------------------- > > Incorrect Javascript code generation: > > initImpl()@http://localhost/eCubeH/portfolio/php/load.php:6 > init()@http://localhost/eCubeH/portfolio/php/load.php:315 > onload([object Event])@http://localhost/eCubeH/portfolio/php/load.php:1 > > > ReferenceError > > Core is not defined > > I am really just an XForms user, not wishing to dig too deep into JS etc > which I am not familiar with. Our apps run with fedora / httpd / PHP all > set up locally on *netbooks*. > > - With Mozilla XForms the response time on Firefox 3.5 was pretty > good, about 1-2 seconds for loading a data heavy xform, filled with > repeats.There is a 2+ year old screenshot of this at > http://old.nabble.com/nested-repeat-formatting-as-table-td21048857.html > - The same with XSLTForms takes 44 seconds on FF3.5 and 27 seconds on > FF8.0. > > I can post the minimal code (XForms, XML) if that would help. The PHP is > below. > > $xp = new XsltProcessor(); > > // create a DOM document and load the XSL stylesheet > $xsl = new DomDocument; > $xsl->load('../../xsltforms/xsltforms.xsl'); > > // import the XSL styelsheet into the XSLT process > $xp->importStylesheet($xsl); > > // create a DOM document and load the XML datat > $xml_doc = new DomDocument; > $xml_doc->load('../txnRepayV1.xhtml'); > > $html = $xp->transformToXML($xml_doc); > // echo '"'.$html.'"'; > var_dump($html); > > *--* > Best Regards,* > * > * Bala Krishnamurthy* > Samhita Development Network > http://sDevNet.org > > > > On Sun, Sep 11, 2011 at 12:03 PM, Santosh Chandak < > san...@gm...> wrote: > >> Yes, it works on iphone too. I did not try the xsltforms.xsl transform >> since we transform it beforehand. >> >> Regards, >> Santosh >> >> On Sun, Sep 11, 2011 at 11:42 AM, Santosh Chandak < >> san...@gm...> wrote: >> >>> Alain and Friends, >>> Just tried Our application on Android phone browser and the results are >>> amazing. I am really excited to share that it works great. Only things >>> which I did not found working are - >>> 1. Applets for loading and saving data and images which I am sure will >>> find something with the native Android stuff >>> 2. TinyMCE editor >>> >>> I will try it on i-phone also, has anyone tried it on iphone other >>> devices already? >>> >>> Regards, >>> Santosh >>> >>> >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Using storage to extend the benefits of virtualization and iSCSI >> Virtualization increases hardware utilization and delivers a new level of >> agility. Learn what those decisions are and how to modernize your storage >> and backup environments for virtualization. >> http://www.accelacomm.com/jaw/sfnl/114/51434361/ >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> > |