XSLTForms, XLSForms and ODK COllect

Hi. I'm trying to get XLSForm generated xforms to display in XSLTForms
on a browser, but it seems as if the syntax is different?

I can change the XForm to display in one, but not the other. For
example, repeat does not work the same in both. In XSLTForm it
requires a trigger, and this makes ODK Validate unhappy. Also many
binds in ODK do not exist for XSLTForms

Am I doing something wrong?

Thanks,

Yes, the flavor of XForms supported by javarosa is non-standard and it is
unlikely you'll be able to get this to work in a formal XForms renderer.

Some of the binds, e.g., barcode, geopoint, are clearly not going to work.
If you keep to simple types that don't require accessing specialized
hardware or external programs, you'll probably be OK.

Mitch

··· On Thu, Jun 7, 2012 at 4:19 PM, Ferdi wrote:

Hi. I'm trying to get XLSForm generated xforms to display in XSLTForms
on a browser, but it seems as if the syntax is different?

I can change the XForm to display in one, but not the other. For
example, repeat does not work the same in both. In XSLTForm it
requires a trigger, and this makes ODK Validate unhappy. Also many
binds in ODK do not exist for XSLTForms

Am I doing something wrong?

Thanks,

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I would be happy to upgrade XSLTForms so it could also be used with
XLSForm generated xforms.

Specific features such as barcode can be added in XSLTForms and, as a
W3C Forms Working Group member, I could even propose them to be added
in future XForms specifications.

Could you please me some test cases?

Thanks!

-Alain

··· On Jun 8, 1:19 am, Ferdi wrote: > Hi. I'm trying to get XLSForm generated xforms to display in XSLTForms > on a browser, but it seems as if the syntax is different? > > I can change the XForm to display in one, but not the other. For > example, repeat does not work the same in both. In XSLTForm it > requires a trigger, and this makes ODK Validate unhappy. Also many > binds in ODK do not exist for XSLTForms > > Am I doing something wrong? > > Thanks,

Our sandbox site for users to play with have many JavaRosa Xforms with
the extra features such as barcode. opendatakit.appspot.com

The forms are available in our source repository:
http://code.google.com/p/opendatakit/source/browse?repo=forms

Cheers,
Waylon

··· On Fri, Jun 8, 2012 at 10:00 AM, Alain Couthures wrote: > I would be happy to upgrade XSLTForms so it could also be used with > XLSForm generated xforms. > > Specific features such as barcode can be added in XSLTForms and, as a > W3C Forms Working Group member, I could even propose them to be added > in future XForms specifications. > > Could you please me some test cases? > > Thanks! > > -Alain > > On Jun 8, 1:19 am, Ferdi wrote: >> Hi. I'm trying to get XLSForm generated xforms to display in XSLTForms >> on a browser, but it seems as if the syntax is different? >> >> I can change the XForm to display in one, but not the other. For >> example, repeat does not work the same in both. In XSLTForm it >> requires a trigger, and this makes ODK Validate unhappy. Also many >> binds in ODK do not exist for XSLTForms >> >> Am I doing something wrong? >> >> Thanks, > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Also, the engine underlying ODK Collect is JavaRosa:
https://bitbucket.org/javarosa/javarosa/wiki/Home

If certain XForms constructs need to be ignored or allowed, the parser for
this engine should be updated so that XLSForm can generate constructs that
work within a standard browser.

Mitch

··· On Fri, Jun 8, 2012 at 10:31 AM, W. Brunette wrote:

Our sandbox site for users to play with have many JavaRosa Xforms with
the extra features such as barcode. opendatakit.appspot.com

The forms are available in our source repository:
http://code.google.com/p/opendatakit/source/browse?repo=forms

Cheers,
Waylon

On Fri, Jun 8, 2012 at 10:00 AM, Alain Couthures alain.couthures@agencexml.com wrote:

I would be happy to upgrade XSLTForms so it could also be used with
XLSForm generated xforms.

Specific features such as barcode can be added in XSLTForms and, as a
W3C Forms Working Group member, I could even propose them to be added
in future XForms specifications.

Could you please me some test cases?

Thanks!

-Alain

On Jun 8, 1:19 am, Ferdi fergusl...@gmail.com wrote:

Hi. I'm trying to get XLSForm generated xforms to display in XSLTForms
on a browser, but it seems as if the syntax is different?

I can change the XForm to display in one, but not the other. For
example, repeat does not work the same in both. In XSLTForm it
requires a trigger, and this makes ODK Validate unhappy. Also many
binds in ODK do not exist for XSLTForms

Am I doing something wrong?

Thanks,

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I'm attaching an xform generated from our sample xlsformhttp://opendatakit.org/wp-content/uploads/2012/05/sample_xlsform.xlsthat might be of use since it contains most of the widgets we use.
Regards,
-Nathan

sample_xlsform.xml (22.1 KB)