Re: [Xsltforms-support] equality constraint
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-02-01 06:01:00
|
Hello Thorsten, > Hi > > I'm trying to implement an equality constraint, but the resulting page > claims that the constraint is never fulfilled. See example below. What > am I doing wrong? Because "password" is not a child of "repeatPassword but a sibling, ". = password" always fails. You should test ". = ../password" instead. > BTW the XForms wikibook gives an equality constraint > example where "eq" is used instead of "=" and it says that this does not > work with xsltforms (indeed I get a parsing error). "eq" is an XPath 2.0 operator and XSLTForms supports XPath 1.0. -Alain |