xsl-list
[Top] [All Lists]

Re: id() doesn't work!?

2002-08-28 11:47:42
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(_at_)sowatec(_dot_)com
==============================================

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



<Prev in Thread] Current Thread [Next in Thread>
  • Re: id() doesn't work!?, Aaron Optimizer Digulla <=