[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] numbering question


Subject: RE: [xsl] numbering question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 23 Dec 2008 14:13:44 -0000

> is invalid. Is there a more concise way of writing this 
> expression than the full version below?
> 
>   count="/document | included | 
> section[not(parent::included)] | document[not(parent::included)]"
> 

No, unfortunately not. XSLT patterns can't contain parentheses (except
within a predicate).

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords