xsl-list
[Top] [All Lists]

Re: [xsl] xslt performance issue position() function used in predicate very slow

2006-08-26 08:47:13
Frans Englich wrote:

When is the context item not redundant in a path expression?
Some examples:

./a/b/c
a/b/c/.
a/b/./c
a/b/././c

  All of these are the same.  The only case I know where two
expressions with and without "." as an entire NameTest have different
meanings is:

    //some/path
    .//some/path

  Of course, "." is usefull in other constructs, as in "path[. eq
'string']" or "path[f:pred(.)]".

  Regards,

--drkm





















        
 p4.vert.ukl.yahoo.com uncompressed/chunked Sat Aug 26 15:13:45 GMT 2006 
        
                
___________________________________________________________________________ 
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>
--~--