xsl-list
[Top] [All Lists]

Re: [xsl] Multiple elements condition

2007-08-28 01:01:34
cknell(_at_)onebox(_dot_)com 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 


--~------------------------------------------------------------------
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>
--~--