xsl-list
[Top] [All Lists]

Re: [xsl] matching attribute values that are in range

2006-07-19 04:56:22
Jeff Sese wrote:

Thanks andrew and florent this helped a lot. What i used was:

document('source2.xml')/entry[(_at_)id=current()/@id and 
@type=current()/@type and (@n=current()/@n or @n[matches(.,'-') and 
number(substring-before(.,'-')) <= current()/@n and 
number(substring-after(.,'-')) >= cunrrent()/@n])]

  Do you mean it is what you used before our responses, or what you use
since them?  Because this expression select the entry where the range
is specified (and only as a child of a document node [root node in XSLT
1.0 terminology]).  I don't think it is what you expect.

  Regards,

--drkm























        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


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