This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

guessing the id (was: RE: lost mail)


> Not sure, but I did the same thing and it never appeared again. 
> (nor was forwarded by the list admin).
> 
> I suppose its just "out there"!

Well, in this mail I wanted to propose a new function for XPath 2.0
which returns the id of an element, if it has one - just the complementary
function to id(). 

But now I realized that this can be achieved simply (really?) by
@*[id(.) and count(id(.)|..)=1]

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]