W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2001

XQueryX for absolute path

From: Howard Katz <howardk@fatdog.com>
Date: Sat, 16 Jun 2001 17:12:28 -0700
To: <www-ql@w3.org>
Message-ID: <NDBBIAJFNKNOBCIODNKDKEKGCFAA.howardk@fatdog.com>
What's the XQueryX syntax for representing an absolute path descending from
the root? If I have a query like

     /article

the only way I can see of writing this, given the existing DTD, is something
like

    <q:query ...>
         <q:step axis="CHILD">
              <q:identifier/>
              <q:identifier>article</q:identifier>
         </q:step>
    </q:query>

Is that correct?

Howard
Received on Saturday, 16 June 2001 20:12:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:17 GMT