Ingoba,
Ingoba wrote
I am new to Orbeon. Can anybody suggest a link where I can find code for simple validation example?
If you want to learn XForms, I'd recommend you go through the tutorial, if you haven't done so already. See:
http://www.orbeon.com/ops/doc/intro-tutorialIt doesn't really cover validation, other than <xforms:bind required="...">, but you will get the most important concepts.
Then you can look at the example "Wizard with Switch" (locally on:
http://localhost:8080/orbeon/xforms-wizard-switch/). It has just one validation rule: <xforms:bind nodeset="age" constraint="number(.) >= 0"/>. And then of course, feel free to ask here if there is anything you'd like to do and can't find quite how to do.
Alex