On 12.Sep.2002 -- 03:12 PM, Barbara Post wrote: > I just wonder whether I can do the following in my xsl : > > The field validation can trigger 2 types of errors : > 1. the field is null -> show message 1 > 2. the field is not null but has wrong regex syntx -> show message 2. > > I just have troubles to find the documentation again... For now I have 2 > error tags but both messages appear despite > <xsl:attribute name="when">is-null</xsl:attribute> or <xsl:attribute > name="when">no-match</xsl:attribute>...
Barbara, this looks OK to me. Documentation is in javadocs for SimpleFormTransformer. Sure you use the transformer? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- 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]>