|
Subject: Re: [xsl] Multiple elements condition From: Florent Georges <lists@xxxxxxxxxxxx> Date: Tue, 28 Aug 2007 10:00:31 +0200 (CEST) |
cknell@xxxxxxxxxx wrote:
Hi
> So if "note[para[2]] " means "at least 2", how do you express
> "exactly 2"?
"note[count(para) eq 2]" or "note[para[2] and not(para[3])]".
I think I remember Michael said once that Saxon rewrote the former
into the later (or maybe it was only "count(elem) = 2" into
"elem[2]"?), to avoid counting all the sequence items. But I am not
sure.
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Re: [xsl] Multiple elements con, cknell | Thread | RE: Re: [xsl] Multiple elements con, Wendell Piez |
| [xsl] XPath references using exsl:n, Matt Poff | Date | Re: [xsl] XPath references using ex, Florent Georges |
| Month |