Hello Mark,

It wasn't actually very difficult to write required serialization 
instructions in Javascript instead of with XSLT.

Could you please test again on Android xith rev. 539?

Thanks!

-Alain

Le 19/04/2012 08:24, Alain Couthures a écrit :
> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to