RE: XMLForm Schematron question

2003-03-27 Thread Delis, Christopher E.
icke '; '[EMAIL PROTECTED] ' Sent: 3/27/03 4:50 AM Subject: RE: XMLForm Schematron question thanks for inspiring me to continue... following-sibling and preceding-sibling didn't work but the following did: Passwords do not match! i thought they were siblings, but... -Original

RE: XMLForm Schematron question

2003-03-27 Thread Delis, Christopher E.
orm-to-html.xsl" to reflect the fact that the error violation has an > attribute of ref='' instead of ref='/password'. > > cheers, > chris > > -Original Message- > From: Ugo Cei > To: [EMAIL PROTECTED] > Sent: 3/27/03 1:51 AM > Subject: Re:

Re: XMLForm Schematron question

2003-03-27 Thread Joerg Heinicke
lation has an attribute of ref='' instead of ref='/password'. cheers, chris -Original Message- From: Ugo Cei To: [EMAIL PROTECTED] Sent: 3/27/03 1:51 AM Subject: Re: XMLForm Schematron question Delis, Christopher E. wrote: i take it back! it still doesn't work =-( i

RE: XMLForm Schematron question

2003-03-27 Thread Delis, Christopher E.
lation has an attribute of ref='' instead of ref='/password'. cheers, chris -Original Message- From: Ugo Cei To: [EMAIL PROTECTED] Sent: 3/27/03 1:51 AM Subject: Re: XMLForm Schematron question Delis, Christopher E. wrote: > i take it back! it still doesn't w

Re: XMLForm Schematron question

2003-03-26 Thread Ugo Cei
Delis, Christopher E. wrote: i take it back! it still doesn't work =-( i keep getting "Passwords do not match!" errors... I'm currently using the following: Passwords do not match. -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia

Re: XMLForm Schematron question

2003-03-26 Thread Joerg Heinicke
Delis, Christopher E. wrote: i'm not sure i understand your explanation. are you suggesting that i need to create another root container (e.g., /root) to hold the password and password2 nodes in order to reference other form objects? that doesn't seem right. or, are you saying that if change "/p

RE: XMLForm Schematron question

2003-03-26 Thread Delis, Christopher E.
cke [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 1:51 PM > To: [EMAIL PROTECTED] > Subject: Re: XMLForm Schematron question > > > Hello Christopher, > > I mentioned it already before: I guess the error are "/password" and > "/password2"

Re: XMLForm Schematron question

2003-03-26 Thread Joerg Heinicke
he same for "password2"). Regards, Joerg Delis, Christopher E. wrote: i take it back! it still doesn't work =-( i keep getting "Passwords do not match!" errors... -Original Message- From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] Sent: Wednesday, Marc

RE: XMLForm Schematron question

2003-03-26 Thread Delis, Christopher E.
i take it back! it still doesn't work =-( i keep getting "Passwords do not match!" errors... > -Original Message- > From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 11:20 AM > To: '[EMAIL PROTECTED]' >

RE: XMLForm Schematron question

2003-03-26 Thread Delis, Christopher E.
Joerg Heinicke [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 10:58 AM > To: [EMAIL PROTECTED] > Subject: Re: XMLForm Schematron question > > > Hi Delis, > > for an XML like > > >mypassword >mypassword > > > I would use the followin

Re: XMLForm Schematron question

2003-03-26 Thread Joerg Heinicke
Hi Delis, for an XML like mypassword mypassword I would use the following schematron: must be > 5 must be < 60 password != password2 I didn't test it, but the above looks logical to me ;-) Everything is pure XSLT. But what you tried (../password2), should work also (if context is

RE: XMLForm Schematron question

2003-03-26 Thread Delis, Christopher E.
7;t seem to work.] > -Original Message- > From: Rob Johnston [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 10:35 AM > To: [EMAIL PROTECTED] > Subject: Re: XMLForm Schematron question > > > On Wed, 26 Mar 2003, Joerg Heinicke wrote: > > > Hello

Re: XMLForm Schematron question

2003-03-26 Thread Rob Johnston
On Wed, 26 Mar 2003, Joerg Heinicke wrote: > Hello Rob, > > you simply must add a predicate to the context: > > > > You must specify a valid number. > > Sweet. I hadn't even thought about putting a predicate there. That worked perfectly. I appreciate it! thanks, rob > Furthermo

Re: XMLForm Schematron question

2003-03-26 Thread Joerg Heinicke
Hello Rob, you simply must add a predicate to the context: You must specify a valid number. Furthermore I think you should change the test pattern. If someone writes 5.0, it can return false. I have in mind 5.0 and 5, if the transformer tests on strings and not on numbers. (I had th