See, http://modis.ispras.ru/sedna/progguide/ProgGuidesu8.html#x14-480002.5.3
.

On Mon, Sep 29, 2008 at 9:53 PM, Brian Turner <[EMAIL PROTECTED]> wrote:

> Hmmmm, this might be something other than a syntax issue, I'm not sure....
>
> [EMAIL PROTECTED]:/R1/tools/sedna/sedna/bin>* ./se_term -file indexes.xquery
> iproXMLall**
> SEDNA Message: ERROR XPST0003
>     It is a static error if an expression is not a valid instance of the
> grammar defined in A.1 EBNF.
> Details: unexpected token: 'Eof', line: 2
> *
> [EMAIL PROTECTED]:/R1/tools/sedna/sedna/bin> *more indexes.xquery **
> declare default element namespace "http://pir.georgetown.edu/iproclass";;
> CREATE INDEX "Entry_ID" ON doc('all')/iProClassDatabase/iProClassEntry BY
> ./@Entry_ID
>    *
> [EMAIL PROTECTED]:/R1/tools/sedna/sedna/bin>
>
>
>
> 2008/9/29 Ivan Shcheklein <[EMAIL PROTECTED]>
>
> 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

Reply via email to