Re: [xsl] need a help with following siblings

Subject: Re: [xsl] need a help with following siblings
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 16 Mar 2011 12:54:42 +0100
Red Light wrote:

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

RREUR :  'Erreur de contrtle 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/

Current Thread