This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

grouping in XPATH with parenthesis


I recently saw an XPATH expression (in Dave Obasanjo's "Things to
Know and Avoid When Querying XML Documents") that included parentheses 
used for grouping:

(//*)[position()=1]/@on-loan

I had to scratch my head wondering if I have ever seen parentheses
used in this fashion. Is anyone familiar enough with this usage
to explain when parenthesis would be needed and where in the
specs they are even allowed?

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]