Re: [Xsltforms-support] Same Rule (Validation) for both client side and server side with XSLTForms!
Brought to you by:
alain-couthures
From: Stephen C. <ste...@gm...> - 2011-12-20 22:46:06
|
Hello Srividhya, A couple of us are presently working on an open-source project that I hope will solve the issue that you are interested in. This is an XForm for designing an XML Schema and from which one or more XForms are then generated. The XML Schema can have Schematron rules embedded inside it that, in the XForm generation process, are converted to bind constraints. My idea is that the same XML Schema (& Schematron) file is also used on the server side to validate submissions. Although the validation is done twice I see this as being a RESTful solution. The Schema Designer and XForms Generator 'prototype' is almost ready for public release on sourceforge, however if you are keen to pursue this now contact me directly. Regards Steve Cameron On Tue, Dec 20, 2011 at 11:03 PM, srividhya <n.s...@ni...> wrote: > > Hi XSLTForms Users !!! > > We have a scenario to validate XForms with XSLTForms in offline mode as well > as the same validation with online mode ...Pls suggest a possible solution > > Like i have a sample form with a date comparison field .. So, i have written > the rule in my client side XForms with Bind option. while i submit the date > to the server i need to reuse the same bind rule in server side ....We dont > know how to do the same in Server side with Same client side rule written in > XForms bind section . > > > > with thanks and regards, > N. srividhya > NIC-OTC, > chennai. > |