Re: [Xsltforms-support] XForms on Android issue.
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-04-19 06:24:29
|
Hello Mark, I almost forgot that the XSLT engine is also used to serialize an instance (to remove non relevant nodes and meta attributes). This can also be performed with just Javascript. Are you in a hurry with this issue? Thanks! -Alain Le 18/04/2012 23:19, Mark Lawson a écrit : > Hi, > > I'm trying to get an xsltform running on an android phone (Samsung SII Android 2.3.5). I've used the helloworld example and I'm converting it server side via eXist. I've xsltforms r537 in /resources/xsltforms and the xquery looks like so ($form holds the helloworld xform) > > let $transform := '/resources/xsltforms/xsltforms.xsl' > > let $params := > <parameters> > <param name="omit-xml-declaration" value="yes"/> > <param name="indent" value="no"/> > <param name="media-type" value="text/html"/> > <param name="method" value="xhtml"/> > <param name="baseuri" value="resources/xsltforms/"/> > </parameters> > > let $serialization-options := 'method=xml media-type=text/html omit-xml-declaration=yes indent=no' > return > transform:transform($form,'resources/xsltforms/xsltforms.xsl', $params, $serialization-options) > > Now this works perfectly on any browser I have on the lan, apart from the phone. In debug mode it says > "xsltforms.js:375 UncaughtReferenceError: XSLTProcessor is not defined" > > Any ideas? > > Mark > > > > > > ------------------------------------------------------------------------------ > 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 > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |