id() questions

Subject: id() questions
From: Scott Ferguson <ferg@xxxxxxxxxx>
Date: Thu, 11 Feb 1999 02:36:35 +0000
1) Isn't the syntax 'verse/id()' more consistent with the rest of the
spec than 'id(verse)'?  If id() acted like XT's 'next-element', then
'chapter/id(verse)' would match all verses pointed to by chapters. If
I understand correctly, in the current spec, the following are
equivalent:
  chapter/verse/id(.)
  chapter/id(verse)
  id(chapter/verse)

2) When 'id(@idref)' is used as a match pattern, e.g. in xsl:template,
the XSL processor must scan the entire source tree to find any attribute
'@idref' with value containing the id of the current node.  True?  Or am
I missing something?

Scott Ferguson
Caucho Technology



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


Current Thread