cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: [XMLForm,Validation] Testing for equality
Date Tue, 14 Jan 2003 11:41:21 GMT
Ugo Cei wrote:
> <rule context="/password2">
>   <assert test="string(.) = string(//password1)">
>     Passwords do not match.
>   </assert>
> </rule>

Got it! Apparently it looks like I should do the following instead:

<rule context="/">
   <assert test="string(password1) = string(password2)">
     Passwords do not match.
   </assert>
</rule>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message