This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
guessing the id (was: RE: lost mail)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: guessing the id (was: RE: [xsl] lost mail)
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Mon, 23 Apr 2001 11:52:14 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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