Hi Alain,
I just did a basic test and it looks like it's working. Thanks for
quickly adding this feature! It makes it possible to use non-XML
(text/JSON) services through XSLTForms and makes it one step more
conformant to XForms 1.1.
-Efraim
On 06/19/2011 08:41 AM, Alain Couthures wrote:
> Hello Efraim,
>
> It is now implemented in r507.
>
> As specified, you have to use replace="text" with a web service
> returning plain text.
>
> Thank you for your feedbacks!
>
> -Alain
>
> Le 17/06/2011 04:46, Efraim Feinstein a écrit :
>> Hi,
>>
>> If a web service returns plain text, is there any way to get it into an
>> instance in XSLTForms? XForms 1.1 supports xf:submission/@targetref, but
>> it doesn't look like it's supported by XSLTForms. Loading text into an
>> instance causes an (entirely reasonable) error to be entered into the
>> instance: "This page contains the following errors:error on line 1 at
>> column 1: Extra content at the end of the document Below is a rendering
>> of the page up to the first error."
>>
>> Thanks,
>>
>
>
--
---
Efraim Feinstein
Lead Developer
Open Siddur Project
http://opensiddur.net
http://wiki.jewishliturgy.org
|