There is an xsl file, but Eclipse swears at the following line:

<xsl:when test="count(ancestor::node()) < 9"> 

Here is the error:

The value of the attribute "test" is associated with an element type of "xsl: when"

How can I fix it?

  • Maybe this check count(ancestor::node()) < 9 , can be done before generating the file? - Gorets
  • To be honest, I do not know xsl. Parsyu book, everything is fine, but here is 1 cant ... - evgeniy
  • Ugu corrected ATP. - evgeniy

1 answer 1

The forbidden symbol, google (like &,>, <), is replaced in the same way as in xml.