Subject: Re: [xsl] grouping in XPATH with parenthesis From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 08 Jul 2002 16:05:21 -0400 |
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?
-- Upcoming: 3-days XSLT/XPath and/or 2-days XSL-FO:Sep 30-Oct 4,2002
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed), articles, training (instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-08-05,26,27,09-30,10-03
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] grouping in XPATH with parent, Dan Diebolt | Thread | Re: [xsl] grouping in XPATH with pa, David Carlisle |
Re: [xsl] Creating nodes for the so, James Fuller | Date | Re: [xsl] Want to process XHTML in , Jeni Tennison |
Month |