Subject: Re: 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 |
cknell - 27 Aug 2007 17:17:36 -0000
cknell - 28 Aug 2007 01:19:03 -0000
- Florent Georges - 28 Aug 2007 08:00:53 -0000 <=
- Wendell Piez - 28 Aug 2007 17:16:17 -0000
|
|