xsl-list
[Top] [All Lists]

Re: [xsl] need a help with following siblings

2011-03-16 06:55:00
Red Light wrote:

  thanks for the answer i process  the xsl with apache fop and it give me the 
following:

RREUR :  'Erreur de contrôle du type de l'expression 'funcall(exits, [step("child", 239, 
pred(=(step("child", 240), literal-expr(Categ))))])'.'
?

Do you use XSLT 2.0 or 1.0? If you use 2.0 then make sure you use the right spelling "exists" (and not "exits" as your error message shows). If you use 1.0 then "exists" is not support, you could use "boolean" instead e.g.
  boolean(listElement[categOrSubOrOther =
'Categ']/following-sibling::listElement[categOrSubOrOther = 'Sub'])

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--