W3C home > Mailing lists > Public > www-forms@w3.org > October 2004

Re: Validate 2 fieds!

From: Micah Dubinko <micah@dubinko.info>
Date: Tue, 26 Oct 2004 09:25:20 -0700
Message-ID: <417E7A70.1000709@dubinko.info>
To: "Vo, Thanh Chi" <ThanhVo@psv.com.vn>
CC: "'www-forms@w3.org'" <www-forms@w3.org>

<bind nodeset="path/to/your/node" constraint="path/to/a < path/to/b"/>

For clarity, I used "<", but in XML that would need to be escaped as &lt;


Vo, Thanh Chi wrote:

> Hi all,
> Could you tell me how to make a validation like that:
> value A < value B.
> By schema I've just make value A, value B in a fix range( such as 0..255)
> And by schema could we make a constrain like that( value A < value B).

  Available for consulting. XForms, web forms, information overload.
  Micah Dubinko                           mailto:micah@dubinko.info
  Brain Attic, L.L.C.                        http://brainattic.info
  Yahoo IM: mdubinko
  Learn XForms today: http://xformsinstitute.com
Received on Tuesday, 26 October 2004 16:20:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:14 UTC