Your assert can be
test="string-length(input) = 0 or (more rules)" ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 24, 2002 2:33 AM Subject: Schematron Validation 2 > Another question: > > I also have non mandatory fields - but if > the user gives an input I want to validate the input. > So, is there a way in Schematron to say > if(input is not empty) > assert........ > > Can I do something like nested asserts? > > Thanx again for any help, > > > miHam > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>