[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] id() doesn't work!?


Subject: Re: [xsl] id() doesn't work!?
From: Aaron Optimizer Digulla <digulla@xxxxxxxx>
Date: Wed, 28 Aug 2002 20:47:42 +0200

On Mon, Aug 26, 2002 at 10:18:49PM +0200, J.Pietschmann wrote:

> Aaron Optimizer Digulla wrote:
> >See? Just add a check in the code which implements id() if the
> >current document (infoset or whatever you call it right now) is
> >valid. If not, then id() will never work and then you should print
> >a warning because that is *never* what the user wants (no matter
> >if he uses XPointer or whatever).
> 
> Well, unless every processor implements your suggestions,
> use xsl:key and key(), which is independent of the presence
> of a DTD and will work just as good.
> You might forget about id() after some time... :-)

How can I create a sorted list from IDREFS with key()?

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@xxxxxxxxxxx
==============================================

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



Current Thread