Tempore 23:15:41, die Friday 18 February 2005 AD, hinc in foro {comp.text.xml} scripsit R <>:
> <xsl:if test="count(*/@required='1' and */@noregexp='1') != count(*/@required='1')">
> <!-- my template goes here -->
> </xsl:if>
>
> but this XPath query is incorrect and I don't know how to fix it
>
Hi,
You're forgetting that predicates should be between [brackets]
<xsl:if test="count(*[@required='1' and @noregexp='1']) != count(*[@required='1'])">
Be careful with '!= ' , you'de better use 'not(...=...)'
regards,
--
Joris Gillis (
http://www.ticalc.org/cgi-bin/acct-v...i?userid=38041)
Veni, vidi, wiki (
http://www.wikipedia.org)