[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: id() questions

Subject: RE: id() questions
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Wed, 10 Feb 1999 20:07:09 -0800
scott schach

> -----Original Message-----
> From:	Scott Ferguson [SMTP:ferg@xxxxxxxxxx]
> Sent:	Wednesday, February 10, 1999 6:37 PM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	id() questions
> 
> 
> 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)
> 
	[David] - Correct. These are all equivalent.

> 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?
> 
	[David] - Technically, yes.  Because it is extemely expensive and
not particularly useful, it is not implemented as a match pattern in IE5's
XSL.

> Scott Ferguson
> Caucho Technology
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.