Hi Brian,
Try the following:
CREATE INDEX "myAttr" ON doc('all')/a/b BY ./@myAttr
Ivan Shcheklein,
Sedna Team
On Mon, Sep 29, 2008 at 9:01 PM, Brian Turner <[EMAIL PROTECTED]> wrote:
> How do I create an index on an element's attribute value? For instance
>
> <a> <b myAttr="">.....</b></a>
> using
> CREATE INDEX "myAttr" ON doc('all')/a/b BY ./[EMAIL PROTECTED]
> does not appear to work.
>
> Thanks!
>
> B.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion