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

2.0 feature request

Subject: 2.0 feature request
From: DPawson@xxxxxxxxxxx
Date: Mon, 19 Feb 2001 20:44:11 -0000
 2.0 feature request
Straight out of xml query.
http://www.w3.org/TR/xquery/#section-Path-Expressions

However, the right-arrow notation is designed to be easier to read,
especially in path expressions that involve multiple dereferences. For
example, suppose that a given document contains a set of <emp> elements,
each of which contains a "mgr" attribute. The "mgr" attribute is of type
IDREF, and it references another <emp> element that represents the manager
of the given employee. The name of each employee is represented by a <name>
element nested inside the <emp> element.
(Q4) List the names of the second-level managers of all employees whose
rating is "Poor". 

/emp[rating = "Poor"]/@mgr->emp/@mgr->emp/name

the -> operator is our old id() function in new clothes.

I think this would be extremely useful.

DaveP

 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.