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

Subject: Re: [xsl] id() doesn't work!?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 26 Aug 2002 22:18:49 +0200
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... :-)

J.Pietschmann


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



Current Thread